Fix for XCode unit test error (exited abnormally with code 127)

If you are getting the:

Test host '/path/to/App exited abnormally with code 127 (it may have crashed).'

error in XCode 3.1 (beta) when you try to run your unit tests then you need to:

  1. Get Info for the Unit Tests target.
  2. Choose the Build tab.
  3. Set the Architectures value to Native Architecture of Build Machine.

Tags: , ,

Leave a Reply