React Native BUILD SUCCEED, but “No devices are booted.”

后端 未结 9 1385
一整个雨季
一整个雨季 2021-01-31 20:57

Here\'s my environment:

➜  AwesomeProject node --version
v6.3.0
➜  AwesomeProject npm --version
3.10.3
➜  AwesomeProject react-native --version
react-native-cli: 1.0.         


        
9条回答
  •  野的像风
    2021-01-31 21:25

    When hitting react-native run-ios, one of the first lines printed to console, would be something like this (or similar)

    Launching iPhone 6 (10.0)...
    
    1. Boot the respective simulator manually
      • Go to spotlight search and start to type simulator
      • When spotlight presents the search result, choose the simulator app and hit Enter
      • Go to simulator app's menu: Hardwire -> Device -> iOS 10.0 -> iPhone 6 and select it
    2. Reset
      • Go to simulator app's menu: Simulator -> Reset Content and Settings...
    3. Retry
      • Command react-native run-ios again

提交回复
热议问题