直到最近(2016 年 9 月 15 日左右)我才能够使用 VS2015 以及最新版本的 TACO 和 remotebuild 构建一个 cordova 项目并将其部署到远程设备 (iPhone 6)。
我现在运行的是 ios 10 并更新了 iTunes 和 xcode。
现在,当我运行 remotebuild 时,设备会提示我“信任计算机”。我点击按钮,然后什么也没有发生。 Remotebuild 认为部署成功但设备上没有安装任何东西,因此“运行”步骤失败。请参阅下面的 404。
GET/cordova/build/1216/deploy 200 692.617 毫秒 - 760
GET/cordova/build/1216/run 404 762.857 毫秒 - 35
获取/cordova/build/1216/debug 500 10014.728 毫秒 - 88
如果我打开 xcode 项目并从那里运行,它将成功安装在设备上并能够运行。
最佳答案
我终于解决了这个问题。我在这里找到了修复:
https://github.com/Microsoft/remotebuild/issues/5
解决方案是升级 brew、libimobiledevice、ideviceinstaller 和 ios-webkit-debug-proxy。我在终端中输入了以下命令:
brew update
brew upgrade libimobiledevice --HEAD
brew upgrade ideviceinstaller ios-webkit-debug-proxy
关于ios - Visual Studio Taco - Remotebuild 将不再部署到远程设备,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39605193/