OSX应用程序在发布模式下崩溃

时间:2012-05-31 05:51:54

标签: objective-c cocoa xcode4.2 xcodebuild release-mode

任何指针我们如何在发布模式下调试应用程序,它甚至崩溃了第一行,下面是代码片段

- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
    // Insert code here to initialize your application

    debugLog<<" inside app did finish launching "<<endl;

    **// here its crashing**        
    [self InitAppController];

    [AppUtil createAppMacFolder];


}

1 个答案:

答案 0 :(得分:0)

不确定是什么问题,
但是当我将优化级别设置为0时工作正常,

enter image description here