Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_Quote", referenced from:
type metadata accessor for __ObjC.Quote in MyUITest.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
According to this guy, the "Allow testing Host Application APIs" checkbox needs to be set:
https://forums.developer.apple.com/thread/20609
What's weird is that I didn't even have that checkbox at all. To even get that checkbox you need to set "Bundle Loader" and "Test Host" in your test target's "Build Settings".
http://stackoverflow.com/a/35416945
However, now the tests crash on the XCUIApplication().launch() line with signal SIGKILL
logs:
logs:
t = 0.01s Launch com.company.aaa
t = 0.03s Terminate
No comments:
Post a Comment