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" #662

Closed
WesSouza opened this issue Mar 13, 2018 · 4 comments
Closed

"Could not find iPhone 6 simulator" #662

WesSouza opened this issue Mar 13, 2018 · 4 comments
Labels

Comments

@WesSouza
Copy link

WesSouza commented Mar 13, 2018

Actual Behavior

  1. Press play button on debugger
  2. Error Could not debug. Error while executing command 'react-native run-ios --simulator --no-packager': Error while executing command 'react-native run-ios --simulator --no-packager' appear on Debug Console

Expected Behavior

  1. Press play button on debugger
  2. Project runs on iOS simulator

Software versions

  • React-Native VS Code extension version: 0.6.4
  • VSCode version: 1.21.0 (1.21.0)
  • OS platform and version: macOS High Sierra 10.13.3 (17D102)
  • NodeJS version: v9.8.0
  • React Native version: 0.53.0

Outputs (Include if relevant)

  • Output of the Debug Console:
OS: darwin x64
Adapter node: v7.9.0 x64
vscode-chrome-debug-core: 3.23.0
Could not debug. Error while executing command 'react-native run-ios --simulator --no-packager': Error while executing command 'react-native run-ios --simulator --no-packager'

  • Output of the React-Native: Run ios output channel:
[Info] Starting React Native Packager.

[Info] Attaching to running React Native packager

Scanning folders for symlinks in /Users/wesley/Work/[project]/node_modules (25ms)
Found Xcode project [project].xcodeproj

Could not find iPhone 6 simulator

More details

The same configuration is working on another machine. I tried following the documentation to force another simulator by setting react-native.ios.runArguments.device but it was ignored by the extension.

I've also ran the project on XCode targeting an iPhone 6 simulator, and it still shows it's not found on VSCode.

@annakocheshkova
Copy link

annakocheshkova commented Apr 16, 2018

@wesleydesouza thank you for your request!
Try executing react-native run-ios --simulator --no-packager / react-native run-ios --simulator="<device_name>" --no-packager in terminal, does it work for you?

@ruslan-bikkinin
Copy link
Contributor

@wesleydesouza just a friendly ping on this.

@WesSouza
Copy link
Author

@annakocheshkova neither work once the Simulator is open.

If I quit the simulator, most times it works.

@ruslan-bikkinin
Copy link
Contributor

@wesleydesouza Well, seems to be that your issue doesn't relate with extension itself. I recommend you to search for similar issues in react-native repo, besides there was already bug that caused inability for targeting iPhone 6 in extension as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants