Expo React-Native iOS模拟器无法正常工作 [英] Expo React-Native iOS Simulator not working

查看:171
本文介绍了Expo React-Native iOS模拟器无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,我遇到了Expo React-Native的问题.每当我尝试启动iOS模拟器时.我收到此错误:

Hello I'm facing a problem with Expo React-Native. Whenever I try to launch the iOS Simulator. I get this error:

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​​ 博览会版本 2.11.9

My NPM Version is 6.7.0 react-native-cli: 2.0.1 react-native: 0.57.1 Expo Version 2.11.9

我还要确保Xcode上的命令行工具设置正确 Xcode CommandLineTools

Also I made sure my Command Line tools on Xcode is setup perfectly Xcode CommandLineTools

最后,我还尝试运行命令sudo xcode-select -s /Applications/Xcode.app

Finally, I also tried to run the command sudo xcode-select -s /Applications/Xcode.app

什么都没有.

推荐答案

我遇到了同样的问题,可以通过在启动博览会之前手动启动模拟器应用程序来解决此问题.

I had the same problem, fixed it by manually starting the simulator app before starting expo.

该应用程序位于/Applications/Xcode.app/Contents/Developper/Applications/Simulator.app

The app is located in /Applications/Xcode.app/Contents/Developper/Applications/Simulator.app

这篇关于Expo React-Native iOS模拟器无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆