当我尝试在安装了 remotebuild 的 Mac 上从 Visual Studio 2015 运行我的 Cordova 应用程序时,我总是在输出窗口中得到这个:
1>------ Build started: Project: Holmwoods.Cordova, Configuration: Debug iOS ------
1> Your environment has been set up for using Node.js 4.2.2 (x64) and npm.
1> ------ Ensuring correct global installation of package from source package directory: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\APACHECORDOVATOOLS\packages\vs-tac
1> ------ Name from source package.json: vs-tac
1> ------ Version from source package.json: 1.0.28
1> ------ Package already installed globally at correct version.
1> ------ Cordova tools 5.4.1 already installed.
1> ------ Build Settings:
1> ------ Build Settings:
1> ------ <<snip>>
1> ------ Adding platform: ios
1>MDAVSCLI : warning : Applications for platform ios can not be built on this OS - win32.
1> <<snip>>
1> ------ Updating plugins
1> SyntaxError: Unexpected end of input
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
在我看来,它正在尝试从 Windows 构建和运行 iOS 应用程序,即使我已在“工具”>“选项”下配置了 remotebuild 代理。
在 Mac 上,我在构建过程中看不到任何请求。当我在 Visual Studio 中重新配置远程构建代理时,我确实在终端中看到了 GET 请求。