[英]Xcode 11 Beta 7 crash when running on device but not in canvas or simulator
I've run into a problem with Xcode crashing when trying to run my SwiftUI app on my iPhone XS Max. 尝试在iPhone XS Max上运行SwiftUI应用程序时,我遇到了Xcode崩溃的问题。 The crash only occurred after upgrading to the latest Xcode 11 Beta 7. Also, the app still runs without an issue in the canvas and with the iPhone Simulator. 仅在升级到最新的Xcode 11 Beta 7后才发生崩溃。此外,该应用程序仍在运行,并且在画布和iPhone Simulator中均没有问题。 Below is the error code that I get, the app doesn't go past the launch screen when running on my device. 以下是我得到的错误代码,当在我的设备上运行时,该应用不会超过启动屏幕。 My device is running iOS 13.1 我的设备正在运行iOS 13.1
"Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan inf]. Layer: >; sublayers = (); opaque = YES; allowsGroupOpacity = YES; anchorPoint = CGPoint (0 0)>'" “由于未捕获的异常'CALayerInvalidGeometry'而终止应用程序,原因:'CALayer位置包含NaN:[nan inf]。层:>;子层=();不透明= YES; allowsGroupOpacity = YES; anchorPoint = CGPoint(0 0)>” ”
Where should I look? 我应该去哪里看?
抱歉,注意到有人发布了在当前使用Beta 7版本的iOS 13.1设备上无法运行应用程序的信息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.