问题
I'm receiving Error while reading test scope bundle ! while running a Unit Test in XCode 5. No test runs.
Any idea how to solve this?
回答1:
Solved the issue. Appears that I must run all tests after creating a new test. Not possible to run a fresh test individually from the gui until all tests have run.
回答2:
I got it solved by setting "Build Active Architecture Only" in the test target to No
回答3:
Delete the built app from the simulator. Its bundle can get out of whack and Xcode can't fix it for some reason.
来源:https://stackoverflow.com/questions/22561729/xcode-unit-testing-error-while-reading-test-scope-bundle