xcode7.1

Linker error when accessing application module in UI tests in Xcode 7.1

你。 提交于 2019-11-30 11:02:41
问题 I'm trying to implement some UI tests in my project. Everything goes fine as long as I keep it simple: record the test case, add some asserts, then run the test. This works fine, however when I try to access the application module from inside my test, the linker throws an error (See below): In the application source file: func foo() { assert(true) } In the UI tests: import XCTest @testable import MyApp func testExample() { foo() } Error: Undefined symbols for architecture i386: "MyApp.foo ()

Linker error when accessing application module in UI tests in Xcode 7.1

偶尔善良 提交于 2019-11-29 23:32:08
I'm trying to implement some UI tests in my project. Everything goes fine as long as I keep it simple: record the test case, add some asserts, then run the test. This works fine, however when I try to access the application module from inside my test, the linker throws an error (See below): In the application source file: func foo() { assert(true) } In the UI tests: import XCTest @testable import MyApp func testExample() { foo() } Error: Undefined symbols for architecture i386: "MyApp.foo () -> ()", referenced from: MyAppUITests.MyAppUITests.testExample (MyAppUITests.MyAppUITests)() -> () in

Alcatraz in Xcode 7.1

拜拜、爱过 提交于 2019-11-28 17:14:34
问题 Note that from Xcode 8 Alcatraz no longer works Editor Extension Tutorial I am unable to install Alcatraz for Xcode 7.1 According to their twitter feed Alcatraz should work with Xcode 7.1. I have tried uninstalling and reinstalling. I used the recommended install of curl -fsSL https://raw.githubusercontent.com/supermarin/Alcatraz/deploy/Scripts/install.sh | sh Could it be related to the fact I also have Xcode 6.4 installed? 回答1: @Mopr answer will possibly resolve, but did not work for me. I

iPad Pro launch image and App icon

匆匆过客 提交于 2019-11-28 10:48:32
iPad Pro requires 167x167 App icon and 2732 x 2048 (landscape) launch image. But where should I put them? Xcode 7.1 Asset Catalogs don't provide any place to add iPad Pro specific icons or images. My launch image is size specific, so using storyboard for this isn't a good option. Stan Apple commented on this issue: "Latest beta (7.2b3) added 83.5@2x app icon slot to asset catalogs, and Developer relations reported in a radar comment that they no longer support launch images and will not be adding the iPad pro launch image size to asset catalogs." Taken from here . Slyv Use Launch Screen

Xcode 7.1 with iOS 9.2 Error (Could not find Developer Disk image) [duplicate]

早过忘川 提交于 2019-11-27 22:58:34
问题 This question already has an answer here: “Could not find Developer Disk Image” 9 answers I have iOS 9.2 (13C71) installed on my iPhone 5, and I'm enrolled as an Apple Developer. On my Macbook Pro, I have XCode 7.1 and OSX El Capitan. When I try to run a project on my phone, is gives the error - "Could not find Developer Disk Image". Does anyone know what's wrong? 回答1: Found out the answer. Went to Xcode website. They clearly say that Xcode 7.1 does not include iOS 9.2 beta sdk. Upgraded my

IOS project showing error “An internal error occurred. Editing functionality may be limited” on xcode 7.1

筅森魡賤 提交于 2019-11-27 11:45:11
I just created one new cordova ios project via CLI, and i opened that project in Xcode 7.1 and while running on simulator am getting some error on mainViewController.xib, if we clicked on that error its showing xib file and on top of that showing one warning message "An internal error occurred. Editing functionality may be limited" . So am unable to run this project. I don't know whether this is due to Xcode bug or cordova bug or any other settings issue in my Xcode. I had this issue and clearing derived data folder fixed the issue for me Preferences > Locations > Derived Data > click the

iPad Pro launch image and App icon

非 Y 不嫁゛ 提交于 2019-11-27 03:49:24
问题 iPad Pro requires 167x167 App icon and 2732 x 2048 (landscape) launch image. But where should I put them? Xcode 7.1 Asset Catalogs don't provide any place to add iPad Pro specific icons or images. My launch image is size specific, so using storyboard for this isn't a good option. 回答1: Apple commented on this issue: "Latest beta (7.2b3) added 83.5@2x app icon slot to asset catalogs, and Developer relations reported in a radar comment that they no longer support launch images and will not be