Hi all,
I am new to XCode and testing, and have followed the steps outlined in the iPhone Development Guide under "Unit Testing Applications".
I added a unit-test bundle to my project, named it "LogicTests", set it as the active target, then added a sample "LogicTests" unit-test class under a new group called "Tests". I wrote the simple one-line test from the doc (STFail(@"Must fail to succeed");
), then tried to build my project.
I keep getting the errors: Command /bin/sh failed with exit code 1
and /Developer/Tools/RunPlatformUnitTests.include:448: error: Failed tests for architecture 'i386' (GC OFF)
.
The second error looks like the test is being run and failing properly, but the first error I am completely clueless about... What could the problem be here?
Thanks, -Greta