Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error when running unit tests in Xcode 5.0

When I tried creating a unit test file in xcode 5.0, I get the following error:

The test bundle at /.../Tests.octest could not be loaded because it is built for a different architecture than the currently-running test rig (which is running as x86_64).

What should I do?

like image 915
Kermit the Frog Avatar asked Oct 03 '22 14:10

Kermit the Frog


1 Answers

You are probably trying to run the tests in the "iPhone Retina (4-inch 64-bit)" Simulator.

Switch to the "iPhone Retina (4-inch)" Simulator, and things should work fine

like image 104
below Avatar answered Oct 13 '22 10:10

below