I'm encountering an issue while trying to debug my cordova project on an iPhone using a remote build on my Mac. The build is successful, but I receive the following two error messages during deployment:
Failed to launch iOS remote for build
C:\Flex\Trunk\Flex.Net\Flex.Net.MobileHybrid\bld\ios\Release\buildInfo.json` to : Http 404: Error mounting developer disk image
In an attempt to resolve this error, I've already attempted the following without success:
- Restarting all devices
- Ensuring the presence of a disk image for each iOS by checking the folder Finder > Xcode > Show Package Contents > Developer > Platforms > DeviceSupport.
- Downloading the latest XCode, Cordova, and iOS (10.0.2) on my phone.
- Utilizing a phone with a lower version of 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 500: No devices found to debug. Please ensure that a device is connected and awake and retry.
Regarding the second error message, here are the steps I have taken in an effort to address it:
- Verifying that all different kinds of Apple developer certificates are set up properly. I have also successfully debugged the device on XCode on my Mac.
- Restarting all devices involved, updating everything (Xcode, Visual Studio, iOS, Cordova, plugins, etc.), and attempting to register a different iPhone as well.
If anyone has any insights into what might be triggering these errors, please share your thoughts. I feel like I have exhausted almost every troubleshooting step.