从 VS2017 和 xcode 7.3.1 构建时,RemoteBuild 给出部署 404

RemoteBuild giving deploy 404 when building from VS2017 and xcode 7.3.1

我正在尝试使用 VS2017 和 Xcode 7.3.1 部署 cordova 应用程序。该应用程序构建良好,但在部署时出现 Deploy 404 错误。输出堆栈如下:

------ Downloading completed build files from http://10.102.190.66:3000/cordova/build/78879/download to C:\MyApp\MyAppDemo\bld\iOS\Debug
------ Done downloading the build outputs to C:\MyApp\MyAppDemo\bld\iOS\Debug
------ Extracting the build outputs to C:\MyApp\MyAppDemo\bin\iOS\Debug
------ Done extracting the build outputs to C:\MyApp\MyAppDemo\bin\iOS\Debug
------ Copying back to project: ios
2>------ Deploy started: Project: MyAppDemo, Configuration: Debug iOS ------
2>Requesting deploy on remote iOS device for buildNumber 78879 on server http://10.102.190.66:3000/cordova...
2>http://10.102.190.66:3000/cordova/build/78879/deploy The remote server returned an error: (404) Not Found.

如果有任何解决此问题的建议,我们将不胜感激。

我已经放弃使用 remotebuild 代理为 iOS 进行构建,因为它被破坏了许多版本并且你不能 return 到过时的 API。

相反,我建议在 Mac 中创建项目的镜像副本,我知道这会花费更多时间来设置,但这是唯一有效的方法。

要使用此方法创建并更新应用,请阅读此处的说明:Build Cordova iOS app from Visual Studio for Windows