升级到ios13 xcode 把iphone X 模拟器给干掉了,所以运行 react-native run-ios 命令报 Could not find iPhone X simulator。
react-native 0.60以上
修正方法:进入文件 ./node_modules/@react-native-community/cli-platform-ios/build/commands/runIOS/index.js
文件查找 iPhone X 。
把 iPhone X 换成你有的模拟器,下面图是换成iPhone 11
运行 react-native run-ios 命令报 Could not find iPhone X simulator
最新推荐文章于 2021-11-30 14:41:57 发布