Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find iPhone 6 simulator #21571

Closed
ovaisahmed43 opened this issue Oct 8, 2018 · 7 comments
Closed

Could not find iPhone 6 simulator #21571

ovaisahmed43 opened this issue Oct 8, 2018 · 7 comments
Labels
Platform: iOS iOS applications. Resolution: Locked This issue was locked by the bot.

Comments

@ovaisahmed43
Copy link

ovaisahmed43 commented Oct 8, 2018

Code I am executing:
react-native run-ios

Error:

Owaiss-Mac:pdm owaisahmed$ react-native run-ios
Found Xcode project pdm.xcodeproj

Could not find iPhone 6 simulator

Error: Could not find iPhone 6 simulator
    at resolve (/Users/owaisahmed/Documents/react-native-projects/pdm/node_modules/react-native/local-cli/runIOS/runIOS.js:149:13)
    at new Promise (<anonymous>)
    at runOnSimulator (/Users/owaisahmed/Documents/react-native-projects/pdm/node_modules/react-native/local-cli/runIOS/runIOS.js:134:10)
    at Object.runIOS [as func] (/Users/owaisahmed/Documents/react-native-projects/pdm/node_modules/react-native/local-cli/runIOS/runIOS.js:106:12)
    at Promise.resolve.then (/Users/owaisahmed/Documents/react-native-projects/pdm/node_modules/react-native/local-cli/cliEntry.js:117:22)

Result of react-native info:

  React Native Environment Info:
    System:
      OS: macOS 10.14
      CPU: x64 Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
      Memory: 32.16 MB / 3.97 GB
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 10.11.0 - /usr/local/bin/node
      Yarn: 1.10.1 - /usr/local/bin/yarn
      npm: 6.4.1 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
    IDEs:
      Android Studio: 3.2 AI-181.5540.7.32.5014246
      Xcode: 10.1/10O35n - /usr/bin/xcodebuild
    npmPackages:
      react: 16.5.0 => 16.5.0 
      react-native: 0.57.1 => 0.57.1 
    npmGlobalPackages:
      react-native-cli: 2.0.1

PS: I am new to Mac OS, so problem might be very basic.
Thanks in advance for the Help!

@TalhaBinAsif
Copy link

I am facing same issue.

@kelset kelset added the Platform: iOS iOS applications. label Oct 9, 2018
@kelset
Copy link
Contributor

kelset commented Oct 9, 2018

  1. you can simply solve by passing something like react-native run-ios --simulator="iPhone X" with the version of the device that you need
  2. you are using Xcode 10, which is not yet fully supported -> ☂️ Supporting Xcode 10 and the new Xcode build system #19573

@kelset
Copy link
Contributor

kelset commented Oct 9, 2018

Actually, this is already fixed via 6d09df5

@kelset kelset closed this as completed Oct 9, 2018
@ploureiro
Copy link

This Fix also correct all simulators startup:

  • Xcode 10 simulator list Fix 1031872

@kelset
Copy link
Contributor

kelset commented Oct 10, 2018

yup, I'm going to cherry pick both for the next 0.57.x release

@elzii
Copy link

elzii commented Oct 13, 2018

I'm having same issue on macOS Mojave after manually downgrading XCode & Command Line Tools to 9.4 from here.

xcrun --version gives 43 and xcrun simctl list --json devices shows then newer isAvailable syntax.

This is after removing any standalone tools via sudo rm -rf /Library/Developer/CommandLineTools

I can still build manually from XCode, but can't start via react-native run-ios.

All that to say, @kelset pretty please cherry pick soon :)

@kelset
Copy link
Contributor

kelset commented Oct 15, 2018

@elzii 0.57.3 was released 3 days ago and has both commits.

@facebook facebook locked as resolved and limited conversation to collaborators Oct 15, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Oct 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Platform: iOS iOS applications. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

6 participants