[英]Xamarin iOS Simulator Black Screen After Xcode 11 Update
I am using windows PC and Xamarin.I have recently updated Xcode to 11 on Mac.我正在使用 windows PC 和 Xamarin。我最近在 Mac 上将 Xcode 更新为 11。 I am running VS 15.9.16.
我正在运行 VS 15.9.16。 After the Xcode update, my Xamarin Forms app never loads.
Xcode 更新后,我的 Xamarin Forms 应用程序永远不会加载。 The iOS Simulator simply shows a black screen after launching.
iOS 模拟器在启动后只是显示黑屏。 I have tried multiple other form factor simulators.
我已经尝试了多个其他形式的模拟器。 All show the same symptoms.
都表现出相同的症状。
In my case, it goes black in iOS13 after launching.就我而言,它在启动后在 iOS13 中变黑了。 After some googling, I found the solution for my problem which was unchecking/set to false "Supports multiple windows".
经过一番谷歌搜索,我找到了我的问题的解决方案,即取消选中/设置为 false“支持多个窗口”。 Hope it helps.
希望能帮助到你。
You may be using a deprecated class like UISearchDisplayController that stopped working in iOS13.您可能正在使用已弃用的 class,例如在 iOS13 中停止工作的 UISearchDisplayController。 That caused the black screen for me.
这导致我黑屏。
See this answer on how to check your console output / crash logs:请参阅有关如何检查控制台 output / 崩溃日志的答案:
https://stackoverflow.com/a/58217046/10295942 https://stackoverflow.com/a/58217046/10295942
In my case, simply switching from iPhone 11 to iPhone SE simulator did the trick.就我而言,只需从 iPhone 11 切换到 iPhone SE 模拟器就可以了。 I am assuming if this works, switching from the current selected device to a different device could be all you need.
我假设如果这可行,从当前选择的设备切换到不同的设备可能就是你所需要的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.