ios - 随机 (lldb) 在 Mac OS X 10.8.4 上的 iOS 模拟器中崩溃

标签 ios xcode ios-simulator lldb

一段时间以来,我一直在为一个奇怪的问题而苦苦挣扎。在 iOS 模拟器最初关闭的情况下运行我的应用程序时,它会正确启动。但是,如果我在不关闭模拟器的情况下再次运行它,它就会崩溃,并且只会在错误日志中打印 (lldb)。如果我再次运行它(不关闭模拟器)它会正确启动。如果我再次这样做,它就会崩溃。所以它似乎是每隔一次。它在使用 iOS 设备时有效,我有一所大学有完全相同的项目,但在 iOS 模拟器中没有遇到这个问题。我尝试过的是清理、重置内容和设置、手动删除应用程序、重新启动计算机并重新安装 Xcode。

最佳答案

OS X 10.8.4 存在导致随机模拟器崩溃的问题。

https://devforums.apple.com/message/817179#817179

已经提出了一些解决方法,包括切换到 GDB。看这里:

We have found the issue. It is a process killing race condition in "debugserver" when it is killing the application it is debugging which causes this problem to occur.

The work around that should work for all folks is to kill the app first, wait for it to go away, then hit CMD+R. The quick turn around of just pressing CMD+R is now showing this thread race condition more often in 10.8.4.

关于ios - 随机 (lldb) 在 Mac OS X 10.8.4 上的 iOS 模拟器中崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16957602/

相关文章:

ios - 具有自定义 View 和弱引用的 UIViewController

ios - 在 iOS 9 模拟器中禁用 Apple Pay

xcode - 缺少自动完成和文档

c# - iOS 模态弹出窗口开始透明但变成空白

ios - 正向地理编码可以在模拟器上运行,但不能在 iPhone 上运行

ios - 使UIImage具有圆角和边框

ios - 无法在 IOS 中更改应用程序角标(Badge)

ios - 在显示动画的情况下,UINavigationController 在 View 上调用 willMoveToWindow 和 didMoveToWindow 两次

ios - 类型 'X' 不符合协议(protocol) 'Encodable'

ios - 如何添加包含 iAd 横幅 View 的 subview ?