Pétur Ingi Egilsson
Pétur Ingi Egilsson

Reputation: 4503

XCode unit testing: Error while reading test scope bundle

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?

Upvotes: 3

Views: 979

Answers (3)

David Gish
David Gish

Reputation: 750

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

Upvotes: 0

Syed Absar
Syed Absar

Reputation: 2284

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

Upvotes: 0

Pétur Ingi Egilsson
Pétur Ingi Egilsson

Reputation: 4503

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.

Upvotes: 6

Related Questions