Post

Replies

Boosts

Views

Activity

Cannot run Unit Tests
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 tests2. Open the Test navigator3. Click a run button to run all of the tests or just a single testExpected 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 / 6D570OS X Yosemite 10.10Full 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/ShopRunnerXCInjectBundle: /Users/davidkobilnyk/Library/Developer/Xcode/DerivedData/ShopRunner-bidzmfgkvbuukseorqflphmltsuw/Build/Products/UnitTestingRelease-iphonesimulator/ShopRunnerTest.xctestTestBundleLocation: /Users/davidkobilnyk/Library/Developer/Xcode/DerivedData/ShopRunner-bidzmfgkvbuukseorqflphmltsuw/Build/Products/UnitTestingRelease-iphonesimulator/ShopRunnerTest.xctestTMPDIR: /Users/davidkobilnyk/Library/Developer/CoreSimulator/Devices/B9744C21-3FED-4B40-8E9D-C730291C4F75/data/Containers/Data/Application/F370425B-2FDE-4E1E-AB99-B31BA9EB5E5C/tmpDYLD_LIBRARY_PATH: /Users/davidkobilnyk/Library/Developer/Xcode/DerivedData/ShopRunner-bidzmfgkvbuukseorqflphmltsuw/Build/Products/UnitTestingRelease-iphonesimulatorDYLD_INSERT_LIBRARIES: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks/IDEBundleInjection.framework/IDEBundleInjectionDYLD_FRAMEWORK_PATH: /Users/davidkobilnyk/Library/Developer/Xcode/DerivedData/ShopRunner-bidzmfgkvbuukseorqflphmltsuw/Build/Products/UnitTestingRelease-iphonesimulatorDYLD_FALLBACK_LIBRARY_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/libDYLD_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
7
0
3.1k
Jul ’15