Beim Versuch, eine Cordova-App von Visual Studio 2017 für iOS auf einem Mac mit Remoteserver zu erstellen, schlägt der Build fehl und es wird kein Grund für den Fehler angegeben.VS2017 Cordova iOS-Build schlägt fehl, ohne Fehlercode
Die Erstellung erfolgt nach dem Verfahren in Visual Studio Tools for Apache Cordova: iOS Guide mit Remoteserver im nicht sicheren Modus.
Die Remoteserver, jnode und xcode wurden auf dem Mac aktualisiert. Die gleiche Anwendung wurde zuvor von VS2015 mit einem ähnlichen Setup erstellt.
Die letzten Einträge im Fenster VS ausgegeben werden:
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 [email protected] into platforms.json
No scripts found for hook "after_platform_add".
Failed to build app for buildNumber 600:
Das Entfernter_Server Fenster folgende Einträge zeigt:
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&vcordova=6.3.1&cfg=release&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.
Basierend auf this discussion, es scheint nicht, dass die ENOENT Fehler die Quelle des Problems.
Darüber hinaus führt das Ausführen der Datei build.xcconfig für den Build direkt auf dem Mac aus Verzeichnis/cordovaApp/platforms/ios/build dazu, dass die Anwendung kompiliert und erfolgreich erstellt wird.
Was könnte das Problem sein?
Funktioniert immer noch nicht. Der Fehler hat sich jedoch geändert. VS-Berichte: Remotebuild erfordert, dass Ihre Projekte cordova-ios 4.3.0 oder höher mit XCode 8.3 verwenden. Bitte aktualisieren Sie Ihre cordova-ios-Version. – HashPsi
Update Cordova auf Windows und in Visual Studio Änderung in der config.xml zu Cordova 7.0.1 –