0

我正在开发纸牌游戏(回合制),但我遇到了一个问题。当我在游戏中时,我点击主页按钮退出游戏,然后我再次进入游戏,我得到这个错误:Terminating app due to uncaught exception...

如何检测此错误的原因和位置?xcode中是否有任何方法或设置?

我的 Xcode 版本:4.5.2

我在我的 iPhone(4S 和 5)上收到此错误,但在我尝试 iPhone 模拟器时却没有。

PS 使用 PHP 的错误很简单,因为例如你得到了 thid: there is an error on line: 45

更新。错误是:

[ViewController 中断:]:无法识别的选择器发送到实例 0x1c54d260

4

0 回答 0