Post

Replies

Boosts

Views

Activity

`@testable import` in UI Tests fail to link to app
Hi,Is functional testing supported in UI Test ?I'd like to check the state of my application is correct in a UI Test function (like I have done in my functional tests in the Unit Test target), however adding `@testable import MyApp` causes a link time error:Undefined symbols for architecture x86_64: "type metadata accessor for MyApp.MainViewController", referenced from: MyAppUITests.MyAppUITests.setUp (MyAppUITests.MyAppUITests)() -> () in MyAppUITests.o type metadata accessor for MyApp.MainViewController? in MyAppUITests.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)I noticed that `UIApplication.sharedApplication().windows` also returns an empty array.Has access to the app been removed from UI Test targets?Cheers,Daniel
2
1
3.2k
Jan ’16