react-native app不在模拟器上启动

问题描述 投票:1回答:1

这是我第一次尝试在ios模拟器上运行react本机应用程序,但是出了点问题,构建成功但是appp没有在模拟器上启动,并且一些看守错误是可见的。 enter image description here

enter image description here

react-native ios-simulator watchman
1个回答
0
投票

1.在XCODE中打开xcodeproj(awesomeApp / ios / awesomeApp.xcodeproj),并确保xcodeproj和build目录具有所需的权限。

2.在xcode中导航到Window - > Devices and simulators - > simulators

3.删除模拟器并重新添加

4.按下运行/播放按钮。

© www.soinside.com 2019 - 2024. All rights reserved.