I'm using react-native. I want to run my project on iOS simulator. at the first time when I run below code everything work fine.
sudo react-native run-ios --simulator "iPhone XR"
after I uninstalled my project on simulator, above code doesn't work and my project doesn't show(icon of my project doesn't appear on simulator.).
my solutions:
> I restarted the simulator.
> turn off and turn on simulator.
> sudo rm -rf ios/build;
> sudo react-native run-ios
> react-native run-ios
but above solutions does't works.
尝试使用xcode open dir运行项目,并在终端中运行open ios ,打开projectname.xcodeproj,但是如果使用cocopods,请运行open projectname.xcworkspace
The simulator was renamed to iPhone Xʀ
. Notice: the R is styled!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.