2016-01-21 144 views
1

時當我嘗試從Visual Studio 2015年remotebuild在Mac上運行我科爾多瓦的應用程序安裝「輸入意外結束」,我總是在輸出窗口得到這樣的:Remotebuild運行iOS科爾多瓦應用

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請求。

+0

你找到一個解決方案嗎? – Quintonn

+0

我會盡快用更新的工具嘗試。現在我只需在Mac上克隆存儲庫並直接從那裏構建和調試,即可正常工作。 – Knelis

+0

它再次用於Apache Cordova的最新Visual Studio工具(更新8)。 – Knelis

回答

0

我有這個確切的問題

我做了什麼來解決它是創建一個空白的新項目比較confix.xml文件。

我做的另一件事是刪除我的plugins文件夾中的所有內容,並使用visual.xml GUI爲config.xml重新添加插件。

0

你應該嘗試寫您的項目文件

cordova platform remove android 
cordova platform add android 

Android或平臺的cammand提示..