Visual Studio Cordova, building iOS package via remote agent issues

两盒软妹~` 提交于 2019-12-25 07:40:07

问题


We've been building a mobile application in Visual Studid Community 2015 using the Cordova platform with the aim to publish to Android and iOS.

Android we have no issues with but want to submit the app to Apple. The problem is that we tried setting up a remote agent the last couple of days but have ran into a brick wall.

On our Macbook Pro we've installed node latest version as we are running Cordova CLI 5.4.1. Also we've installed xCode latest version. Signed up for Apple's developer program, created a distribution profile, got our certificate etc. In other words we've ticked all the boxes.

Now the issue is once we try running the remote agent and trying to connect remotely via Visual Studio to our Mac to submit to the Apple store. If we use remote agent we get the follwoing 404 error in Mac's terminal:

GET /certs/{pin number} 200 12ms - 3.49kb
GET /modules/taco-remote 404 3ms

And in Visual Studio the following pop up:

Unable to connect to remote iOS build server. Underlying exception:
The remote server returned an error: (404) not found.

If we try to use remotebuild we get an error "error parsing JSON remotebuild.config".

We've tried finding documentation or information on either of these but everything just points back to: http://taco.visualstudio.com/en-us/docs/ios-guide/ for remote build or Visual Studio's pages on how to install and run remote agent.

We've followed those steps 10 times but just keep on getting the same error. If we try from another computer's Visual Studio we get an error "Could not resolve host" though the host name is definitely correct.

We are using Visual Studio Community 2015.

Any ideas?

来源:https://stackoverflow.com/questions/36418953/visual-studio-cordova-building-ios-package-via-remote-agent-issues

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!