I am running through the IOS emulator and when I start to type into the text field the application crashes, highlighting the line that starts “int retVal” in the code below; the error message is “Thread 1: Program received signal : EXC_BAD_ACCESS”. Initially, I thought I had typed something incorrectly, but I downloaded the examples for the book and I get the same problem with that - does the Whereami.h field that is bound to the text field need initialising somewhere?
I am using the following:
[ul]O/S: OSX Lion 10.7.2
XCode Version 4.2[/ul]
int main(int argc, char *argv)
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
int retVal = UIApplicationMain(argc, argv, nil, nil);