I have an app that runs fine when compiled and run on the 3.2 Simulator using XCode 3.2.3, but on the 4.0 Simulator, when I try to allocate and initialize an NSAutoreleasePool as part of a background loop, it stops with a SIGABRT exception.
The code that starts the background loop is:
Code:
[NSThread detachNewThreadSelector:@selector(checkNumber) toTarget:self withObject:nil];
and the first line of checkNumber (the point where it crashes - a breakpoint set here stops successfully, but any sort of "step" throws the exception) is:
Code:
NSAutoreleasePool *pool = [[NSAutoreleasePool init] alloc];
Any reason why this is happening? Am I missing something with the project settings?
-- Don