2015-08-29 33 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平台相匹配,则检查插件。