ios - when app run it crash and the main function is not call -
When I run my app on iOS6 or IOS7 device, then it crashes but on iOS 5.1.1 Do not do this.
Int main (Int Arjik, char * argv []) {@autoreleasepool {Anselog (@ "---- ---- Home"); // It has not run! Return UIApplicationMain (argc, argv, zero, NSStringFromClass ([AppDelegate square])); }}
And it runs fine in the simulator.
Clear the project and does not help to reinstall the application.
log below:
There are some golbal objects in my app and I did not pay attention to the double release of NSSTing in Global Object Leakage is good.
This will do a number of key functions before the call. Such as global variables, stable variables and some systems will call the freecene (objective-c load function).
Comments
Post a Comment