首页 > 其他分享 >XCode报错Thread 1: EXC_BAD_ACCESS (code=2, address=0x....)

XCode报错Thread 1: EXC_BAD_ACCESS (code=2, address=0x....)

时间:2022-11-24 13:44:09浏览次数:48  
标签:code EXC Thread 0x BAD 报错

问题描述:
执行任何代码前单元测试崩溃
在Xcode中运行单元测试时崩溃:Thread 1: EXC_BAD_ACCESS (code=2, address=0x…)

报错:return setOption(option);

 

 

解决方法:
Product -> Scheme -> edit scheme -> info中取消勾选Debug executable

标签:code,EXC,Thread,0x,BAD,报错
From: https://www.cnblogs.com/zhengyan/p/16921608.html

相关文章