How to debug EXC_BAD_ACCESS that occurs only on release target for an iPhone app?

后端 未结 3 1996
忘了有多久
忘了有多久 2021-02-07 12:45

I\'m developing an iPhone application. I have an EXC_BAD_ACCESS that occurs only in the release target; when I build the debug target the exception does not occur.

3条回答
  •  春和景丽
    2021-02-07 13:13

    When u enable NSZombieEnabled you should check the console as it will probably tell u which line you're getting the EXC_BAD_ACCESS. From there you would be able to fix it. Don't forget to disable it for final release.

提交回复
热议问题