EXC_BAD_ACCESS signal received

前端 未结 30 3131
轮回少年
轮回少年 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:16

    How i deal with EXC_BAD_ACCESS

    Sometimes i feel that when a EXC_BAD_ACCESS error is thrown xcode will show the error in the main.m class giving no extra information of where the crash happens(Sometimes).

    In those times we can set a Exceptional Breakpoint in Xcode so that when exception is caught a breakpoint will be placed and will directly intimate the user that crash has happened in that line

    enter image description here

提交回复
热议问题