Visual Studio Cordova部署到远程iOS 10设备失败 [英] Visual Studio Cordova deploy to remote iOS 10 Device Failing
问题描述
我已经成功设置了从我Windows机器上的Visual Studio到使用Xcode 7.x的iOS 9.x设备的远程部署。 > https://taco.visualstudio.com/en-us/docs/ios -guide /
对于iOS 10,你需要升级到Xcode 8,并做一些调整,以获得你的开发团队标识符的构建配置,使它正确签名。感谢本指南,我能够成功编译。
https://dpogue.ca/articles/cordova-xcode8.html
但我仍然收到此错误,我可以找不到remotebuild中的修复程序。
超时连接调试程序到远程Apache Cordova应用程序。请参阅JavaScript控制台输出的输出窗口。
Http 404:安装开发人员磁盘映像时出错
Http 500:未找到要调试的设备。请确保设备已连接并已唤醒,然后重试。
我试过更改remotebuild超时设置,当然重新启动/重新插入设备。 / p>
我可以在Xcode中打开.xcodeproj并直接从Mac部署它。
有没有人找到一个解决方案remotebuild来部署到iOS 10设备时,他们得到这个错误? / p>
这为我固定了:)
brew upgrade libimobiledevice --HEAD
阅读更多:
https://github.com/Microsoft/remotebuild/issues/5
I had successfully set up remote deployment from Visual Studio on my Windows machine to iOS 9.x devices with Xcode 7.x on my mac by following this guide.
https://taco.visualstudio.com/en-us/docs/ios-guide/
With iOS 10 you need to upgrade to Xcode 8 and do some tweaking to get your developer team identifier in the build config to get it to sign properly. Thanks to this guide I was able to get a successful compile.
https://dpogue.ca/articles/cordova-xcode8.html
However I'm still getting this error that I can't find a fix for within remotebuild.
Timed out connecting debugger to remote Apache Cordova app. See Output window for JavaScript console output.
Http 404: Error mounting developer disk image
Http 500: No devices found to debug. Please ensure that a device is connected and awake and retry.
I have tried changing the remotebuild timeout settings and of course restarting/re-plugging in the device.
I am able to open the .xcodeproj in Xcode and deploy it from the Mac directly. Or else take the .ipa file and drop it into iTunes to install.
Has anybody found a solution for remotebuild to deploy to iOS 10 devices when they get this error?
This fixed it for me:)
Run from Terminal: brew upgrade libimobiledevice --HEAD
Read more: https://github.com/Microsoft/remotebuild/issues/5
这篇关于Visual Studio Cordova部署到远程iOS 10设备失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!