Visual Studio Cordova deploy to remote iOS 10 Device Failing

故事扮演 提交于 2019-12-07 07:03:14

问题


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?


回答1:


This fixed it for me:)

Run from Terminal: brew upgrade libimobiledevice --HEAD

Read more: https://github.com/Microsoft/remotebuild/issues/5



来源:https://stackoverflow.com/questions/39624131/visual-studio-cordova-deploy-to-remote-ios-10-device-failing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!