问题
I have a project in XCode which runs fine, but when i try testing it using the (XCTestCase) Testing framework I get this error "Test session exited(80) without checking in : Executable does not provide an architecture compatible with the current process" The architecture setting for the project is "standard architectures(armv7,arm64)" From the error statement it looks like i have issues with the architecture settings of the project, which I am unable to figure out what exactly.
From the detailed log file I could get this "The bundle couldn’t be loaded because it doesn’t contain a version for the current architecture."
回答1:
Making sure the Valid Architectures for my targets under build settings were all set to the same worked for me. After updating to meet Apple's 64 bit requirements I realized arm64 was missing from my test target->build settings->Valid Architectures
来源:https://stackoverflow.com/questions/28019386/xc-testing-framework-iosxcode-6-1-test-session-exited80-without-checking-in