ideviceinstaller -i 返回 Segmentation fault: 11

新手上路,请多包涵

使用vscode开发react-native应用,想用真机调试,所以按照vscode的说明使用"brew install ideviceinstaller"安装了ideviceinstaller,但是发生了如下报错:

[Error] "Could not debug. Error while executing command 'ideviceinstaller -i /Users/leon/Desktop/AwesomApp/ios/build/Build/Products/Debug-iphoneos/AwesomApp.app': Error while executing command 'ideviceinstaller -i /Users/leon/Desktop/AwesomApp/ios/build/Build/Products/Debug-iphoneos/AwesomApp.app'"

然后,我在控制台直接运行如下命令:

ideviceinstaller -i /Users/leon/Desktop/AwesomApp/ios/build/Build/Products/Debug-iphoneos/AwesomApp.app

得到如下报错:

Uploading AwesomApp.app package contents... DONE.
Installing '(null)'
- CreatingStagingDirectory (5%)
- ExtractingPackage (15%)
- InspectingPackage (20%)
- TakingInstallLock (20%)
- PreflightingApplication (30%)
- InstallingEmbeddedProfile (30%)
- VerifyingApplication (40%)
- CreatingContainer (50%)
- InstallingApplication (60%)
- PostflightingApplication (70%)
- SandboxingApplication (80%)
- GeneratingApplicationMap (90%)
Segmentation fault: 11

我google了下,网上也有遇到同样的问题,通过重新安装最新的homebrew 然后重新安装ideviceinstaller可以解决,但是我试了,没用,有没有大神指导怎么解决的。

阅读 3.7k
1 个回答
新手上路,请多包涵

Perhaps, the iOS OS has upgraded to 11, and idevice hasn't been able to keep it up. And your dev certificate is already compatible.
Maybe upgrade idevice or homebrew repository can help, but you still needs to wait.

Personal thought , just fyi.

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题