title: VS2017 cordova iOS build fails with no error code
body: <p>When trying to build a cordova app from visual studio 2017 for iOS on a Mac using remoteserver, the build fails and no reason for the failure is provided.</p>
  
  <p>The build is done following the procedure in
  <a href="https://docs.microsoft.com/en-us/visualstudio/cross-platform/tools-for-cordova/first-steps/ios-guide" rel="nofollow noreferrer">Visual Studio Tools for Apache Cordova: iOS Guide</a> using remoteserver in non-secure mode. </p>
  
  <p>The remoteserver, jnode and xcode have been updated on the Mac. The same application was built previously from VS2015 with a similar setup.</p>
  
  <p>The last few entries in the VS output window are:</p>
  
  <pre><code>Wrote out iOS Bundle Identifier "com.bytebloc.sked" and iOS Bundle Version "2.1" to /Users/ccs/.taco_home/remote-builds/taco-remote/builds/600/cordovaApp/platforms/ios/#TestApp#/#TestApp#-Info.plist
  Set TARGETED_DEVICE_FAMILY to "1,2".
  iOS Product Name has not changed (still "#TestApp#")
  Updating icons at platforms/ios/#TestApp#/Images.xcassets/AppIcon.appiconset/
  Updating splash screens at platforms/ios/#TestApp#/Images.xcassets/LaunchImage.launchimage/
  Prepared iOS project successfully
  Executing script found in config.xml for hook "after_prepare": hooks/xcode8.js
  Checking config.xml for saved plugins that haven't been added to the project
  Saving ios@4.2.0 into platforms.json
  No scripts found for hook "after_platform_add".
  Failed to build app for buildNumber 600:
  </code></pre>
  
  <p>The remoteserver window shows the following entries:</p>
  
  <pre><code>taco-remote-multiplexer downloaded and installed.
  Error: ENOENT: no such file or directory, open '/Users/ccs/.taco_home/node_modules/taco-remote-multiplexer/latest/node_modules/taco-remote-multiplexer/tacoRemoteMultiplexer.js'
  Build will be executed under: /Users/ccs/.taco_home/remote-builds/taco-remote/builds/600
  Saving build request payload to : /Users/ccs/.taco_home/remote-builds/taco-remote/builds/600
  Saved uploaded build to /Users/ccs/.taco_home/remote-builds/taco-remote/builds/600/upload_600.tgz
  POST /cordova/build/tasks?command=build&amp;vcordova=6.3.1&amp;cfg=release&amp;options=--device 202 1348.564 ms - 629
  GET /cordova/build/tasks/600 200 0.970 ms - 629
  Extracted app contents from uploaded build request to /Users/ccs/.taco_home/remote-builds/taco-remote/builds/600/cordovaApp. Requesting build.
  Taking 600 as current build
  GET /cordova/build/tasks/600 200 1.428 ms - 687
  Done with current build. Checking for next build in queue.
  </code></pre>
  
  <p>Based on <a href="https://github.com/Microsoft/remotebuild/issues/8" rel="nofollow noreferrer">this discussion</a>, it does not appear that the ENOENT error is the source of the issue.</p>
  
  <p>Additionally, running file build.xcconfig for the build directly on the Mac from directory /cordovaApp/platforms/ios/build results in the application being compiled and built successfully.</p>
  
  <p>What could be the problem?</p>