我一直在使用remotebuild来构建我在Visual Studio中制作的ApacheCordova应用程序,但是开始失败,并在输出中出现下一个错误:

...
1>  Wrote iOS Plist: /Users/UC/.taco_home/remote-builds/taco-remote/builds/503/cordovaApp/platforms/ios/myAppName/myAppName-Info.plist
1>  Checking config.xml for saved plugins that haven't been added to the project
1>  Saving ios@4.1.1 into platforms.json
1>  No scripts found for hook "after_platform_add".
1>  Failed to build app for buildNumber 503:
1>MSBUILD : cordova-build error : Error: Remote build error from the build server Build failed with error - 1
1>  Error Remote build error from the build server Build failed with error  - {1}
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

我没有对应用程序进行任何市长更改,几天前我进行了编译,没有问题,mac使用OSX El Capitan vers。使用xcode 10.11.6 8。

我尝试查找该错误-1,但似乎不存在,如果有人可以给我提供有关此问题的见解,我将不胜感激,在此先感谢您!

编辑:我在Visual Studio上启动了一个全新的空白cordova proyect,当我尝试对其进行编译时会显示相同的错误,可能与xcode有关?

最佳答案

感谢@Fabio的关注。通过在编译器上全局安装cordova(已安装6.1.1)并清除〜/ .taco_home / node_modules文件夹来解决此问题,remotebuild git中存在一个有关此问题的开放问题,并且看来它将进行更新以纠正此问题。很快,希望对您有所帮助!

10-07 19:56
查看更多