Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Expo React-Native iOS Simulator not working

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`.

Screenshot of Expo Results

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

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

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

Nothing works..

like image 554
Ahmed Nagy Avatar asked Mar 16 '19 22:03

Ahmed Nagy


People also ask

Does Expo work on iOS?

To get it running on your device. Download the Expo Client App on your iOS device, register for a free account or login. When the app starts, there is no clear way to attach to your localhost running project.

How do I run React Native on specific iOS simulator?

Specifying a device​ You can specify the device the simulator should run with the --simulator flag, followed by the device name as a string. The default is "iPhone 13" . If you wish to run your app on an iPhone SE (2nd generation), run npx react-native run-ios --simulator="iPhone SE (2nd generation)" .

How do you run the Expo app in Simulation?

Start your app by using expo start command. Type i and a or click on Run on iOS simulator and Run on Android device/emulator buttons to launch your app on devices.

Do you need Xcode for Expo?

No Xcode, No Android Studio With Expo, there is no need to ever worry about these tools, since you would never need them.


Video Answer


1 Answers

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

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

like image 194
Nogesma Avatar answered Sep 28 '22 05:09

Nogesma