Could not find iPhone X simulator
2024-08-24 17:16:42
Could not find iPhone X simulator Error: Could not find iPhone X simulator
at resolve (/Users/zhouenxiao/Desktop/MeiTuan/node_modules/react-native/local-cli/runIOS/runIOS.js:149:13)
at new Promise (<anonymous>)
at runOnSimulator (/Users/zhouenxiao/Desktop/MeiTuan/node_modules/react-native/local-cli/runIOS/runIOS.js:134:10)
at Object.runIOS [as func] (/Users/zhouenxiao/Desktop/MeiTuan/node_modules/react-native/local-cli/runIOS/runIOS.js:106:12)
at Promise.resolve.then (/Users/zhouenxiao/Desktop/MeiTuan/node_modules/react-native/local-cli/cliEntry.js:117:22)
解决方法:进入node_modules/react-native/local-cli/runIOS/findMatchingSimulator.js
if (!version.startsWith('com.apple.CoreSimulator.SimRuntime.iOS') && !version.startsWith('com.apple.CoreSimulator.SimRuntime.tvOS')) // 替换(修改)成这条
最新文章
- Oracle入门基础
- JMeter学习-029-JMeter配置文件propertie配置项读取及应用实例
- banner无限轮播
- Qt开发环境中使用报表控件FastReport遇到的一些问题(一)
- 一些相关的github
- paper 33 :[教程] 如何使用libsvm进行分类
- Python IDE专用编辑器PyCharm下载及配置安装过程(Ubuntu环境)
- Oracle删除用户和表空间
- 【剑指offer 面试题17】合并两个排序的链表
- RHCA学习笔记:RH442-Unit9内核定时与进程延时
- Sdut 2164 Binomial Coeffcients (组合数学) (山东省ACM第二届省赛 D 题)
- 界面编程模仿篇(QQ登录界面逼真篇)
- WOW.js轻松为网页添加动画切入效果
- 201621123062《java程序设计》第11周作业总结
- Java知多少(95)绘图基础
- Memcache类
- mac下mongoDB的使用
- java并发编程实战:第十三章----显示锁
- Oracle数据泵导出导入(expdp/impdp)
- CentOS和RedHat等系列系统 yum源配置、时间同步