I am trying to debug my cordova project on an iPhone using a remote build on my mac. The build is successful but when trying to deploy I get the following two error messages:
Failed to launch iOS remote for build
C:\Flex\Trunk\Flex.Net\Flex.Net.MobileHybrid\bld\ios\Release\buildInfo.json` to http://[ipadress]:port/cordova : Http 404: Error mounting developer disk image
Regarding this error, this is what I've already tried and has not helped:
- Restarting all devices
- Making sure that I actually have a disk image for each iOS by checking in folder Finder > Xcode > Show Package Contents > Developer > Platforms > DeviceSupport.
- Downloading latest XCode, Cordova and iOS (10.0.2) on my phone.
- Using a phone with a lower version iOS (9.3).
Failed to Debug iOS remote for build C:\Flex\Trunk\Flex.Net\Flex.Net.MobileHybrid\bld\ios\Release\buildInfo.json to http://[ipadress]:port/cordova : Http 500: No devices found to debug. Please ensure that a device is connected and awake and retry.
And in regards to this error, what I've tried is the following:
- Making sure all different kinds of apple developer certificates are as they should be. I have also tried to debug the device on XCode on my Mac, which works fine.
- I have tried restarting all devices involved and update everything (xcode, visual studio, iOS, cordova, plugins etc), and tried registering a different iPhone as well.
Does anyone have any idea as to what might be causing this? I feel like I have tried almost everything.