Signal 11, segmentation fault on iphone App exit

后端 未结 4 1629
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-10 08:17

I have an iphone app. It seems to run fine. When I connect to a provisioned iphone to Xcode and run the App, the console log in the Organizer window, always complains abou

4条回答
  •  情深已故
    2020-12-10 09:00

    Try running your application with NSZombieEnabled. This will tell you if you're over releasing any object. To enable zombies do the following:

    1. Choose Project > Edit Active Executable to open the executable Info window.
    2. Click Arguments.
    3. Click the add (+) button in the “Variables to be set in the environment” section.
    4. Enter NSZombieEnabled in the Name column and YES in the Value column.
    5. Make sure that the checkmark forthe NSZombieEnabled entry is selected.

提交回复
热议问题