简体   繁体   English

iOS 模拟器无法启动我的应用

[英]iOS simulator doesn't launch my app

I've installed the create-react-native-app , however I am facing an issue with my iOS simulator.我已经安装了create-react-native-app ,但是我的 iOS 模拟器遇到了问题。 It launch well but doesn't open my app and stay in the home screen.它启动良好,但没有打开我的应用程序并停留在主屏幕上。 My android emulator behave as expected and the app is directly displayed.我的 android 模拟器按预期运行,直接显示应用程序。 I've installed and updated XCode.我已经安装并更新了 XCode。 The default device is an iPhone X but if i set to iPhone 6, it still open an iPhone X simulator.默认设备是 iPhone X,但如果我设置为 iPhone 6,它仍会打开 iPhone X 模拟器。

Any suggestions ?有什么建议吗?

在项目的常规属性下检查您的部署目标。

I closed virtual box machine with option "power off the machine".我用选项“关闭机器”关闭了虚拟机。 And then opened it again and started it.然后再次打开并启动它。 It worked well for me它对我很有效

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM