#import <UIKit/UIKit.h><br>
#import "AppDelegate.h"<br>
int main(int argc, char *argv[])<br>
{
@autoreleasepool {
=> Thread1: signal SIABRT
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
Error Message:
2012-11-03 10:32:08.611 Calculator[9644:907] * Terminating app due to uncaught exception ‘NSUnknownKeyException’, reason: ‘[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key test.’
* First throw call stack:
(0x342f92a3 0x33acb97f 0x342f8f99 0x392559d1 0x39251723 0x3427f61b 0x36fce245 0x36fcdac3 0x36ec6025 0x36e5046d 0x36e90d79 0x36e8caed 0x36ece1d1 0x36e9183f 0x36e8984b 0x36e31c41 0x36e316d5 0x36e31123 0x34fa95a3 0x34fa91d3 0x342ce173 0x342ce117 0x342ccf99 0x3423febd 0x3423fd49 0x36e88485 0x36e85301 0x77c1 0x38ec4b20)
libc++abi.dylib: terminate called throwing an exception
(lldb)
I have no idea how to debug in GDB environment … Is there any recommendation?
Usually that error means you defined an IBOutlet, then hooked it up in IB, and then deleted that ivar. Check that all the IBOutlets are synthesized and defined in the class.