ios - EXC_BAD_ACCESS 与 MKNetworkEngine
<p><p>我正在使用 <code>MKNetworkkit</code> 将 XML 数据解析到服务器。在进入成功 block 之前,它会无缘无故地与 <code>EXC_BAD_ACCESS</code> 崩溃,并且已经完成了 <code>NSZombieEnabled</code> 就像所有的东西一样。![下面是其所在位置的屏幕截图崩溃。]: <a href="http://i.stack.imgur.com/FL3l9.png" rel="noreferrer noopener nofollow">http://i.stack.imgur.com/FL3l9.png</a> </p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>您可能会发现这有助于调试 <a href="http://subhb.org/2012/07/02/how-to-debug-exc_bad_access-error/" rel="noreferrer noopener nofollow">http://subhb.org/2012/07/02/how-to-debug-exc_bad_access-error/</a> </p>
<blockquote>
<p>You will get EXC_BAD_ACCESS error mostly in the following scenarios:</p>
<ul>
<li>You are trying to access an object that is not initialized. </li>
<li>You are trying to access an object that no longer exists. Either it’s being released or it’s nil. In ARC mode, make sure you take
ownership of the object that you want to use.</li>
<li>You are passing an message to an object that the object doesn’t understand. It can also happen for bad typecast.</li>
</ul>
</blockquote>
<p>您是否尝试过在代码上运行断点并逐行单步执行您的程序并查看上述任何一项是否与结果匹配?</p></p>
<p style="font-size: 20px;">关于ios - EXC_BAD_ACCESS 与 MKNetworkEngine,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/27518968/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/27518968/
</a>
</p>
页:
[1]