我通过遵循这个指南,成功地从我的Windows机器上的Visual Studio远程部署到了我的mac上安装了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
然而,我仍然遇到这个错误,无法在远程构建中找到解决方法。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.
我已经尝试更改remotebuild的超时设置,并重启/重新插入设备。
我能够在Xcode中打开.xcodeproj并直接从Mac部署它。或者将.ipa文件拖放到iTunes中安装。
当iOS 10设备遇到此错误时,有人找到了remotebuild部署的解决方案吗?
developmentTeam
已经设置。我可以在Mac上的Remotebuild临时目录中使用cordova run ios --device
构建和运行项目。如果你恰好解决了这个问题,请将你的解决方案发布为答案。 - Stack