當我運行我的應用程序時,它在main.m類中收到SIGBART錯誤。應用程序在運行時收到SIGBART錯誤
#import <UIKit/UIKit.h>
int main(int argc, char *argv[])
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
int retVal = UIApplicationMain(argc, argv, nil, nil);
[pool release];
return retVal;
}
該應用程序在UIApplicationMain()中返回一個錯誤,作爲「Program Received a signal SIGBART」。
提問者在她的問題中沒有提到模擬器。那麼你是怎麼知道她在模擬器上測試的? –