PutoTropical
PutoTropical

Reputation: 123

Visual Studio Cordova deploy to remote iOS 10 Device Failing

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?

Upvotes: 4

Views: 1210

Answers (1)

PKL
PKL

Reputation: 136

This fixed it for me:)

Run from Terminal: brew upgrade libimobiledevice --HEAD

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

Upvotes: 12

Related Questions