美文网首页
ReactNative 真机调试[ios]

ReactNative 真机调试[ios]

作者: Sollrei | 来源:发表于2016-08-26 16:39 被阅读0次

1.先找到一只iPhone,链接到电脑
2.Xcode 选择链接的那个设备


选设备

这步可能出现iphone is busy什么什么,等进度条跑完

可能的报错:

  • Could not find developer disk image

基本是Xcode跟设备的版本不匹配,升级Xcode升级ios,参考这个文章:
iOS新升级,Xcode运行报错Could not find developer disk image(内含最新开发包)

  • an app id with identifier 'org.reactjs.native.example.myProject' is not available

给这里的名字改一下


Paste_Image.png
  • (null)cannot run arm64
    这个出现了一次,然后又没了..有说

Select project and to go target build settings
Enter the key "Build variants" to search box
and just changed from "armv7" to "normal" or reverse it.

备注下

3.到设备选通用->设备管理->开发者应用 信任一下(:зゝ∠)

相关文章

网友评论

      本文标题:ReactNative 真机调试[ios]

      本文链接:https://www.haomeiwen.com/subject/mzrzsttx.html