【发布时间】:2020-12-05 21:23:44
【问题描述】:
当我连接我的 iphone 7plus 并打开 devices and simulators 时,Xcode 意外退出。我想在物理 iphone 上测试我的应用程序。
应用程序在模拟器上运行良好,如果我打开 devices and simulators 而不连接我的 iPhone,那么什么也不会发生。
我不知道为什么会发生这种情况。我应该尝试更新MacOs 和xcode 吗?
请帮忙!
xcode v11.2.1, macOS Catalina v10.15.1, iphone 7plus ios v14.2
错误详情-
Application Specific Information:
ProductBuildVersion: 11B500
Crashing on exception: The window has been marked as needing another Update Constraints in Window pass, but it has already had more Update Constraints in Window passes than there are views in the window.
谁能告诉我这到底是什么意思?
【问题讨论】:
-
我不知道它为什么会崩溃(这似乎有点极端),但是 Xcode 11.2.1 绝对无法处理运行 iOS 14.2 的手机,所以即使它没有崩溃,你在做什么将完全没有意义。所以是的,很明显,将 Catalina 更新到 10.5.7,然后将 Xcode 更新到 12.2。
-
除了不兼容之外,这个问题在 XCode 11 中相当普遍(还没有在 XCode 12 中看到它)。通常这会有所帮助:stackoverflow.com/a/58117854/5318223
-
这能回答你的问题吗? Xcode 11 crashing on iPhone 13.1 app running
-
没有@KirilS.,我会尝试更新macos和xcode。