EXC_BAD_ACCESS (code=1, address=0x0) when stepping in debugger

在真机调试过程中出现EXC_BAD_ACCESS错误,代码为1,地址0x0。模拟器和不加断点的情况下运行正常。该问题可能与版本有关。建议检查并更新相关版本。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

真机单步调试有问题

模拟器 没问题,不加断点 没问题

请教了一下同事,发现是版本号的原因。另外附上网页一篇。

EXC_BAD_ACCESS (code=1, address=0x0) when stepping in debugger



Ok, this is definitely a bug in Xcode 5.0.1.

This is confirmed by Jason Molenda on Apple Developer Forum. The only workaround for now is to use older version of Xcode and the older version of Mac OS X because Xcode 5 requires OS X 10.8.4.

There is no announced ETA for a fix for this issue. Direct question about ETA on Apple Developer Forum is left without answer.

UPDATE 06-Nov-2013:

Today a pre-release version of Xcode 5.0.2 became available on developer.apple.com. This version fixes (among other things) the following issue:

Debugging an application on a device running iOS 6.x causes the application to crash with EXC_BAD_ACCESS.  This has been resolved. (15310896)

I have installed the new version and the issue is indeed gone. Now I am able to debug apps on my 6.x devices again.

Jason Molenda in thread on Apple Developer Forum said:

I'm told you can submit apps to the app store with this Xcode 5.0.2 seed.

share | improve this answer
 
2 
This has been fixed in the latest seed release of Xcode (5.0.2). "Debugging an application on a device running iOS 6.x causes the application to crash with EXC_BAD_ACCESS. This has been resolved. (15310896)" –   Jameo  Nov 6 at 3:39
add comment

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值