EXC_BAD_ACCESS signal received

前端 未结 30 3296
轮回少年
轮回少年 2020-11-22 06:37

When deploying the application to the device, the program will quit after a few cycles with the following error:

Program received signal: \"EXC_BAD_ACCESS\".         


        
30条回答
  •  时光说笑
    2020-11-22 07:14

    To check what the error might be

    Use NSZombieEnabled.

    To activate the NSZombieEnabled facility in your application:

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

    I found this answer on iPhoneSDK

提交回复
热议问题