I am running XCode 3.2.5 and iOS 4.2.
I have had similar problems to other posters which also have been helped by downloading the source and using that. I am now trying to get the example iPhoneExample project to work (from trunk), but hitting the same problems I was in my own project.
I am trying to run the iPhoneExampleTesting target under debug on my device. The project builds fine, but I get the following error on the console window:
- Code: Select all
Test Suite 'All tests' started at 2011-02-02 10:41:32 +0000
Test Suite '/var/mobile/Applications/1134A174-D63F-4126-9628-F77415A83A56/iPhoneExample.app/iPhoneExampleTests.octest(Tests)' started at 2011-02-02 10:41:32 +0000
Test Suite 'RootViewControllerTests' started at 2011-02-02 10:41:32 +0000
Test Case '-[RootViewControllerTests testControllerReturnsCorrectNumberOfRows]' started.
Test Case '-[RootViewControllerTests testControllerReturnsCorrectNumberOfRows]' passed (0.002 seconds).
Test Case '-[RootViewControllerTests testControllerSetsUpCellCorrectly]' started.
Program received signal: “EXC_BAD_INSTRUCTION”.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/Developer/usr/lib/libXcodeDebuggerSupport.dylib (file not found).
Xcode could not locate source file: OCMockObject.m (line: 71)
I have tried the -ObjC and -force_load linker flags suggested on other posts on this board, also to no avail.
Apologies as I'm new to Objective-C, but does anyone have any pointers as to where I can go from here to get this working?
Many thanks.