OSX Application Crashing in release mode
-
11-06-2021 - |
题
Any pointers how can we debug an application in the release mode, its crashing even a first line it self , below is the code snippet
- (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];
}
解决方案
not sure what was the problem,
But when i set the optimization level to 0 was working fine,
不隶属于 StackOverflow