问题描述
我正在使用 VS-TACO 构建移动应用程序,并尝试在 iOS 上运行我的构建.
当我尝试在连接到带有远程构建代理的 Mac 的 Windows 主机上为 iOS 构建此应用程序时,我在 Windows 机器上的 Visual Studio 2017 中收到以下错误消息
"来自构建服务器的远程构建错误
告诉我是否更好,否则我会指导你.
I am building a mobile app using VS-TACO and I am trying to run my build on iOS.
When I try to build this app for iOS on a Windows host which is connected to a Mac with remotebuild agent, then I get following Error Message in Visual Studio 2017 on Windows Machine
When i do "npm cordova -v"
on my Mac, i see "5.4.2"
Windows OS: Windows 10Mac OS SierraI have given all required user permissions as suggested in taco.visualstudio
Making npm cordova -v
equals npm -v
. It returns the npm's version, not the cordova version.
Cordova has to be installed on your PC(WINDOWS).
Could you do on your PC: cordova -v
?If nothing is return : npm install -g [email protected]
or npm install -g cordova@latest
if you want the LATEST version of cordova.
Then you have to tell Visual studio to use the global version of cordova, for that: choose Global Cordova option in Config.xml editor UI.
Tell me if it's better, otherwise i'll guide you.
这篇关于Visual Studio 2017 iOS Build 无法获取 Cordova的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!