Visual Studio Cordova部署到远程iOS 10设备失败

4

我通过遵循这个指南,成功地从我的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部署的解决方案吗?

1
我有完全相同的错误。iOS 10 更新肯定出了些问题。 - Arturo Torres Sánchez
1
我处于相同的情况。Remotebuild出现了相同的“挂载开发者磁盘映像错误”,接着是“未找到要调试的设备…”。已升级为Xcode 8,iOS 10.0.2。developmentTeam已经设置。我可以在Mac上的Remotebuild临时目录中使用cordova run ios --device构建和运行项目。如果你恰好解决了这个问题,请将你的解决方案发布为答案。 - Stack
1个回答

12

1
是的,这也是我的解决方案。 - Chris Matthews
已确认的解决方案。请确保使用两个连字符,不要像我第一次尝试时那样! - PutoTropical

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接