从VS2017和Xcode 7.3.1进行构建时,RemoteBuild提供部署404

时间:2018-10-24 18:33:03

标签: xcode cordova visual-studio-2017 visual-studio-cordova cordova-ios

我正在尝试使用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.

任何解决此问题的建议都值得赞赏。

1 个答案:

答案 0 :(得分:0)

我已经放弃了使用remotebuild代理为iOS进行构建,因为该版本已被折回许多版本,并且您无法返回到过时的API。

相反,我建议在Mac中创建项目的镜像副本,我知道这将花费更多时间,但这是唯一可行的方法。

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