When I start this iphone app is throws this error in the output console:
-[__NSCFString stringValue]: unrecognized selector sent to instance 0x548ad0
and crashes with this Thread kill:
libsystem_kernel.dylib`__kill:
0x360c0840: mov r12, #37
0x360c0844: svc #128
>> 0x360c0848: blo 0x360c0860 ; __kill + 32
What is the best way to debug this so I can see where in the code the problem lays?
select the break point navigator, which is the 2nd last selection on your xcode navigation bar (on the left side of the screen)
there’s a + sign at the left bottom, click and select add exception breakpoint. tick exception breakpoint, exception: ALL, break: on throw, action: add action. (which should be the default selections anyway). click add, and your program should now stop at where the exception happens.