XCode unit testing: Error while reading test scope bundle

安稳与你 提交于 2019-12-10 18:43:20

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!