question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could not find iPhone XXX simulator

See original GitHub issue

Environment

OS: macOS 10.14 Node: 8.11.1 Yarn: 0.22.0 npm: 6.1.0 Watchman: 4.9.0 Xcode: Xcode 10.0 Build version 10A255 Android Studio: Not Found

Packages: (wanted => installed) react: ^16.4.0 => 16.5.2 react-native: ^0.55.4 => 0.55.4

Description

When I run xcrun simctl list devices

== Devices ==
-- iOS 12.0 --
    iPhone 6 (03A77DAB-8642-4E03-95A8-08C57CA9A9C9) (Shutdown) 
    iPhone 8 (13AD8AD9-E701-4A71-A276-F49642976CB2) (Shutdown) 
    iPhone XS (42BB9356-A858-4AA2-BE08-1C87C14D4143) (Shutdown) 
-- tvOS 12.0 --
-- watchOS 5.0 --
-- Unavailable: com.apple.CoreSimulator.SimRuntime.iOS-12-1 --
    iPhone 8 (7119D9FD-3436-4302-A040-BD16DC5C96C5) (Shutdown) (unavailable, runtime profile not found)
    iPhone XS (0B3F56B2-F48F-4970-A7F5-DDB8361CA2EF) (Shutdown) (unavailable, runtime profile not found)
    iPhone XS Max (D35E1F7E-A558-449E-8084-AF420368B3DC) (Shutdown) (unavailable, runtime profile not found)

Then run react-native run-ios --simulator="iPhone 8"

Could not find iPhone 8 simulator

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:24 (1 by maintainers)

github_iconTop GitHub Comments

43reactions
rsispalcommented, Oct 27, 2018

@kelset EDIT I managed to fix my issue by adding “(12.0)” (for iOS 12) as I have older OS simulators installed too - specifying a simulator now works as follows:

react-native run-ios --simulator 'iPad Pro (10.5-inch) (12.0)' --configuration Debug
react-native run-ios --simulator 'iPad Pro (10.5-inch) (11.0)' --configuration Release
6reactions
lukejsimonetticommented, Jul 19, 2019

'iPad Pro (11-inch) (12.2)' adding the OS version matters.

Read more comments on GitHub >

github_iconTop Results From Across the Web

react-native run-ios Could not find iPhone X simulator
A bump in your yarn.lock to some version over 1.9.8 should fix it. Share. Share a link to this answer.
Read more >
Unable to deploy my iOS app - Microsoft Q&A
i am all of a sudden unable to deploy my iOS app to iPhone Device but it's working when I start it on...
Read more >
VS for Mac 2022 Preview 7 can't launch iOS app in debug mode
When try to run my app on iphone simulator 15.4 i get “error HE0042: Could not launch the app 'xxx' on the device...
Read more >
Xcode 12 Build Issues (iOS 14 Simulators, Archive) | Medium
Building a large project on Xcode Version 12.0.1 (12A7300) with a simulator selected (iOS 14), gives various errors, whether the same ...
Read more >
could not find module 'expomodulescore' for target 'x86_64 ...
问题 在更新到Xcode 12之后,使用模拟器编译时我得到了下面这条报错信息: Could not find module 'XXX' for target 'arm64-apple-ios-simulator'; found: x86_64-apple- ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found