John Bowyer
John Bowyer

Reputation: 1493

VS2015 Cordova Tools configuration for ios remote build agent not valid - taco-remote package not found

I followed the steps to set up a remote build at:https://taco.visualstudio.com/en-us/docs/ios-guide/#stack

I am able to pair from visual studio but when I try to set ios configuration from Tools for apache cordova I receive the following error response on the apple machine:


Last login: Mon Apr 11 11:31:07 on ttys000
Johns-Mac-mini:~ johnbowyer$ vcremote --secure false
vcremote
Copyright (C) 2014 Microsoft Corporation. All rights reserved.
1.0.8

VC build library initialized.
Remote build server listening on [http] port 3030
GET /modules/taco-remote 404 7ms
GET /modules/taco-remote 404 2ms
GET /modules/taco-remote 404 0ms

From Visual Studio I receive the error: Unable to connect to remote IOS Build server. Underlying exceptions. The remote server returned an error: (404) Not Found.

The results of npm taco-remote are

Last login: Mon Apr 11 11:35:50 on ttys002
Johns-Mac-mini:~ johnbowyer$ npm taco-remote --version
3.8.6

Upvotes: 2

Views: 1786

Answers (3)

Ashwin Kambli
Ashwin Kambli

Reputation: 21

This worked for me:

When I ran remotebuild -test, it complained that no server modules were selected, and went on to default configuration "modules" to taco-remote

Upvotes: 0

Jordan Matthiesen
Jordan Matthiesen

Reputation: 1480

In your initial post you were using the vcremote package to launch the remote build, which is only for use with Visual C++ projects. It looks like you fixed it by using the remotebuild package (npm install -g remotebuild), which is the one you want to use for Cordova projects. It may be a bit confusing since both tools use some shared source behind the scenes.

Upvotes: 3

John Bowyer
John Bowyer

Reputation: 1493

Not sure why but running the following command appeared to resolve this issue:

johnbowyer$ remotebuild -test

Upvotes: 1

Related Questions