2015-08-29 34 views
0

我正在嘗試用新的VS 2015科爾多瓦插件構建IOS應用程序。我跟着MSDN的insturctions在我的Mac上安裝了Remote build,這似乎很好。VS 2015 Mac上的科爾多瓦RemoteBuild失敗

然而,當我試圖建立在我的電腦從VS 2015年科爾多瓦的應用程序,即時得到錯誤,犯規給我很多信息

這些錯誤信息,我從我的VS有:

Error /Users/[user]/.taco_home/remote-builds/taco-remote/builds/487/cordovaApp/platforms/ios/cordova/build Command failed with exit code 2: {1} D:\[path]\myproject\Error 1 

的任務運行輸出VS:

> cmd.exe /c gulp -b "[project path]" --color --gulpfile "[path]\Gulpfile.js" index 

[16:11:19] Starting 'copy-html'... 

[16:11:19] Finished 'copy-html' after 4.28 ms 

[16:11:21] Using gulpfile 
[path]Gulpfile.js 

[16:11:21] Starting 'index'... 

[16:11:21] Finished 'index' after 9.22 ms 

Process terminated with code 0. 

,這是我從我的Mac有:

New build request submitted: 
/build/tasks?command=build&vcordova=5.1.1&cfg=debug&options=--device&loglevel=warn 
{ 'accept-language': 'en-US', 
    host: '[host]:3000', 
    connection: 'close', 
    'transfer-encoding': 'chunked' } 

Build will be executed under: /Users/[user]/.taco_home/remote-builds/taco-remote/builds/517 

Saving build request payload to : /Users/[user]/.taco_home/remote-builds/taco-remote/builds/517 

Saved upload to /Users/[user]/.taco_home/remote-builds/taco-remote/builds/517/upload_517.tgz 

POST /cordova/build/tasks?command=build&vcordova=5.1.1&cfg=debug&options=--device&loglevel=warn 202 10663.718 ms - 664 

GET /cordova/build/tasks/517 200 0.723 ms - 664 

GET /cordova/build/tasks/517 200 2.269 ms - 664 

GET /cordova/build/tasks/517 200 1.114 ms - 664 

Extracted app contents from uploaded build request to /Users/[user]/.taco_home/remote-builds/taco-remote/builds/517/cordovaApp. Requesting build. 

Taking 517 as current build 

GET /cordova/build/tasks/517 200 1.320 ms - 11505 

GET /cordova/build/tasks/517 200 0.969 ms - 11512 

Done with currentBuild. Checking for next build in queue. 

GET /cordova/build/tasks/517 200 0.914 ms - 11770 

GET /cordova/build/tasks/517/log 200 2.129 ms - - 

現在從觀察,當VS終端窗口顯示「Done with currentBuild」時,VS構建窗口顯示失敗的錯誤消息。檢查隊列中下一個版本。」

我新的MAC和IOS,所以我不知道從哪裏開始解決這個問題。沒有人有這樣的問題嗎?

感謝之前提前

很多

回答

0

在mac上側您是如何運行的remotebuild?也就是你有--secure真的還是假的?

你可以從Visual Studio發佈您的科爾多瓦設置?

有在錯誤文件是什麼指的是?

你使用的是什麼版本的xcode?

+0

安全是真實的,我不能將它設置爲false,因爲它會提示錯誤。 –

+0

我在我的mac上運行xcode 6.2 –

+0

你有沒有在兩端的安全設置?在visual studio中的cordova設置以及remotebuild --secure false?這可能不是問題,但我記得自己有問題,所以如果沒有它,可能會首先開始工作。 d:\ where \ myproject \ error中是否有錯誤文件? –

0

有些時候,雖然VS中的遠程建築物出現錯誤或警告,但實際上並不那麼重要。 您可以忽略它並在mac_user_name/remote_builds中打開您的xcode項目

此外,如果插件與ios平臺相匹配,則檢查插件。