Hello World! program for React Native throws "Failed to parse the output of the list of simulators" on Mac

I was just starting to learn React Native and was trying to launch my Hello, World! using the steps given in https://facebook.imtqy.com/react-native/docs/getting-started.html#content

I took the following steps

1. `brew install watchman` 2. `npm install -g react-native-cli` 3. `react-native init hello` 4. `cd hello` 5. `react-native run-ios` 

Instead of running the iOS application, I received the following error in the terminal:

 Found Xcode project hello.xcodeproj Usage: simctl list [devices|devicetypes|runtimes] Could not parse the simulator list output 

I also tried running it using Xcode ; however, Xcode shows many compilation errors.

Listed below are the details of my system

Below is the screenshot shown in Xcode.

Enter a description of the image here.

+6
source share
4 answers

I realized that I am using the beta version of Xcode. As soon as I installed the latest version of Xcode, all errors disappeared and the application was launched in the simulator.

+5
source

In my situation, I closed the current terminal and reopened it, then the error disappeared.

+8
source

I managed to solve this problem as follows: Download the latest version of xCode (this may require downloading the latest CCA).

0
source

I had an older version of Xcode, updating to the latest version enabled it.

0
source

All Articles