JimiOr2
JimiOr2

Reputation: 342

How to upgrade cordova version in iOS build server for Visual Studio 2013?

When i use VS2013 to develop Cordova project, then i wanna to remote compile for iOS on Mac OS, but i got the following error:

Error 62 Invalid build request: The build request for cordova version 4.3.0 is not supported by the iOS build server. The server is installed with cordova version 4.0.0.

The reason why i upgrade develop version to newly version,but iOS build server was older then mine. i'm already tried to update -g cordova, but still no work, how do i upgrade iOS build server to 4.3.0 for vs2013 remote build?

Upvotes: 1

Views: 461

Answers (2)

Ellen
Ellen

Reputation: 1189

See the full documentation on updating the remote agent.
Stop the current remote agent and run

sudo npm install -g vs-mda-remote --user=$USER

where $USER is replaced by your user name on the Mac. When you run the command, you will be prompted to enter your password as well.

The global installation (-g) switch is recommended but not required.

You'll need to start the updated remote agent and potentially re-configure the connection in VS if you are running in Secure mode.

Upvotes: 1

eomer
eomer

Reputation: 397

The command should be

sudo npm update -g cordova

Sudo on OSX and Linux has to be used with the -g parameter. -g parameter is for global installation.

Upvotes: 0

Related Questions