react-native - Expo React-Native iOS 模拟器不工作
问题描述
您好,我遇到了 Expo React-Native 的问题。每当我尝试启动 iOS 模拟器时。我收到此错误:
Simulator is installed but is identified as 'com.apple.CoreSimulator.SimulatorTrampoline'; don't know what that is.
Simulator not installed. Please visit https://developer.apple.com/xcode/download/ to download Xcode and the iOS simulator. If you already have the latest version of Xcode installed, you may have to run the command `sudo xcode-select -s /Applications/Xcode.app`.
我的 NPM 版本是6.7.0 react-native-cli: 2.0.1 react-native: 0.57.1 Expo 版本2.11.9
我还确保我在 Xcode 上的命令行工具设置完美 Xcode CommandLineTools
最后,我也尝试运行命令sudo xcode-select -s /Applications/Xcode.app
什么都行。。
解决方案
我遇到了同样的问题,通过在启动 expo 之前手动启动模拟器应用程序来修复它。
该应用程序位于 /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app
推荐阅读
- image - Matlab如何检测两个图像的ORB描述符并计算它们之间的汉明距离以确定分数相似度
- functional-programming - 有状态的工作者与纯函数语言中的不变性和类
- spring-boot - Avro SerializationException 使 Kafka Streams 关闭,导致它无法处理下一个传入记录
- python - 标志未通过同一类中的多处理器更新
- html - Emmet 项目编号,但使用单词编号而不是数字
- css - 如何使用半月形编辑分隔线?
- rust - 如何在 Vec 中获取枚举的所有变体
? - javascript - 在反应中,如何将对象数组作为查询字符串传递给端点 url?
- python - Paramiko 试图在远程服务器上运行 python 脚本
- c - 如何停止创建链表的循环以再创建一个空链接?