this block below is located in my Other Sources file in main.m and i get a SIGABRT error at this code below when i try to build the program
Code:
#import <UIKit/UIKit.h>
int main(int argc, char *argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
int retVal = UIApplicationMain(argc, argv, nil, nil); >>>Thread 1: Program received signal: "SIGABRT".
[pool release];
return retVal;
}
when i look at the debug navigator it says Thread 1: Stopped after step at the leave step below
Code:
0x9470a14c <+0000> push %ebp
0x9470a14d <+0001> mov %esp,%ebp
0x9470a14f <+0003> sub $0x18,%esp
0x9470a152 <+0006> movl $0x1,0x8(%esp)
0x9470a15a <+0014> mov 0xc(%ebp),%eax
0x9470a15d <+0017> mov %eax,0x4(%esp)
0x9470a161 <+0021> mov 0x8(%ebp),%eax
0x9470a164 <+0024> mov %eax,(%esp)
0x9470a167 <+0027> call 0x9470a170 <__kill>
0x9470a16c <+0032> leave >>>Thread 1: Stopped after step
0x9470a16d <+0033> ret
0x9470a16e <+0034> nop
0x9470a16f <+0035> nop
can anyone help?