When I attempt to run my app's unit tests in Xcode, the tests fail with an error message: "Test session exited(80) without checking in. Executable does not provide an architecture compatible with the current process." I'm unaware of any way to make it work. Some say that you need to make sure you have arm64 in the architectures, but I already do. The unit tests used to work, not sure why it isn't working anymore. I went back to older versions of the codebase when it worked before, and none of it works anymore.
Steps to Reproduce:
1. Open project in Xcode which has unit tests
2. Open the Test navigator
3. Click a run button to run all of the tests or just a single test
Expected Results:
I expected the tests to run and to see success/failure for each unit test.
Actual Results:
There is no success/failure indication for each of the unit tests. Instead the testing fails before any of the tests get executed.
Version:
Xcode 6.3 / 6D570
OS X Yosemite 10.10
Full Error Text:
IDEBundleInjection.c: Error 3585 loading bundle '/Users/davidkobilnyk/Library/Developer/Xcode/DerivedData/ShopRunner-bidzmfgkvbuukseorqflphmltsuw/Build/Products/UnitTestingRelease-iphonesimulator/ShopRunnerTest.xctest': The bundle “ShopRunnerTest.xctest” couldn’t be loaded because it doesn’t contain a version for the current architecture.
DevToolsBundleInjection environment:
XCInjectDiagnostics: (null)
XCInjectBundleInto: /Users/davidkobilnyk/Library/Developer/Xcode/DerivedData/ShopRunner-bidzmfgkvbuukseorqflphmltsuw/Build/Products/UnitTestingRelease-iphonesimulator/ShopRunner.app/ShopRunner
XCInjectBundle: /Users/davidkobilnyk/Library/Developer/Xcode/DerivedData/ShopRunner-bidzmfgkvbuukseorqflphmltsuw/Build/Products/UnitTestingRelease-iphonesimulator/ShopRunnerTest.xctest
TestBundleLocation: /Users/davidkobilnyk/Library/Developer/Xcode/DerivedData/ShopRunner-bidzmfgkvbuukseorqflphmltsuw/Build/Products/UnitTestingRelease-iphonesimulator/ShopRunnerTest.xctest
TMPDIR: /Users/davidkobilnyk/Library/Developer/CoreSimulator/Devices/B9744C21-3FED-4B40-8E9D-C730291C4F75/data/Containers/Data/Application/F370425B-2FDE-4E1E-AB99-B31BA9EB5E5C/tmp
DYLD_LIBRARY_PATH: /Users/davidkobilnyk/Library/Developer/Xcode/DerivedData/ShopRunner-bidzmfgkvbuukseorqflphmltsuw/Build/Products/UnitTestingRelease-iphonesimulator
DYLD_INSERT_LIBRARIES: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks/IDEBundleInjection.framework/IDEBundleInjection
DYLD_FRAMEWORK_PATH: /Users/davidkobilnyk/Library/Developer/Xcode/DerivedData/ShopRunner-bidzmfgkvbuukseorqflphmltsuw/Build/Products/UnitTestingRelease-iphonesimulator
DYLD_FALLBACK_LIBRARY_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib
DYLD_FALLBACK_FRAMEWORK_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks
*** Test session exited(80) without checking in. Executable does not provide an architecture compatible with the current process. If you believe this error represents a bug, please attach the log file at /var/folders/zq/gr2jpjjd1rq95mgxfjfwdcyr0000gn/T/com.apple.dt.XCTest-status/Session-2015-07-02_11:54:45-heTQu5.log