3

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?

Pétur Ingi Egilsson
  • 4,368
  • 5
  • 44
  • 72
  • Have you seen this question? http://stackoverflow.com/questions/22332859/xcode-5-1-breaks-some-tests – Chris Mar 21 '14 at 14:40

3 Answers3

6

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.

Pétur Ingi Egilsson
  • 4,368
  • 5
  • 44
  • 72
  • 2
    No matter either fresh or old test (/s) I still get this error. I have about 8 test cases in my bundle and when I try to disable all and run a single test, I get this error. I tried running all tests first, and then running only one without luck. – Khulja Sim Sim Apr 20 '14 at 23:02
  • I got it solved by setting "Build Active Architecture Only" in the test target to No – Syed Absar Jun 10 '14 at 05:43
0

I got it solved by setting "Build Active Architecture Only" in the test target to No

Syed Absar
  • 2,274
  • 1
  • 26
  • 45
0

Delete the built app from the simulator. Its bundle can get out of whack and Xcode can't fix it for some reason.

David Gish
  • 750
  • 6
  • 14