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')) // 替换(修改)成这条

最新文章

  1. Oracle入门基础
  2. JMeter学习-029-JMeter配置文件propertie配置项读取及应用实例
  3. banner无限轮播
  4. Qt开发环境中使用报表控件FastReport遇到的一些问题(一)
  5. 一些相关的github
  6. paper 33 :[教程] 如何使用libsvm进行分类
  7. Python IDE专用编辑器PyCharm下载及配置安装过程(Ubuntu环境)
  8. Oracle删除用户和表空间
  9. 【剑指offer 面试题17】合并两个排序的链表
  10. RHCA学习笔记:RH442-Unit9内核定时与进程延时
  11. Sdut 2164 Binomial Coeffcients (组合数学) (山东省ACM第二届省赛 D 题)
  12. 界面编程模仿篇(QQ登录界面逼真篇)
  13. WOW.js轻松为网页添加动画切入效果
  14. 201621123062《java程序设计》第11周作业总结
  15. Java知多少(95)绘图基础
  16. Memcache类
  17. mac下mongoDB的使用
  18. java并发编程实战:第十三章----显示锁
  19. Oracle数据泵导出导入(expdp/impdp)
  20. CentOS和RedHat等系列系统 yum源配置、时间同步

热门文章

  1. luogu1801 黑匣子
  2. xdebug浏览器调试参数
  3. ACM学习历程—BestCoder Round #75
  4. 51nod 1250 排列与交换——dp
  5. bzoj 3157 &amp; bzoj 3516 国王奇遇记 —— 推式子
  6. NET Remoting 最简单示例
  7. 【转】 Pro Android学习笔记(四八):ActionBar(1):Home图标区
  8. 【转】Pro Android学习笔记(十四):用户界面和控制(2):Text类控制
  9. mybatis---demo1--(1-n)----bai
  10. 选择炸了(JIRA)的88个