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可以解决,但是我试了,没用,有没有大神指导怎么解决的。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(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.