视觉工作室2017年cordova vstac失败 - 操作已经超时

时间:2017-05-24 17:33:46

标签: ios cordova visual-studio-2017

我正在尝试使用cordova visual studio 2017macincloudxcode 8.3内为ios构建ios 10.2个应用。

我一直在收到此vstac失败错误。我已经卸载了专业和已安装的企业。错误仍然相同。在vs开发人员社区中提出了一张票,但表示已针对此错误发布了修复程序。但没用。

有人可以在这里说些什么......

我一个接一个地将解决方案内容从解决方案粘贴到解决方案并一起构建一小时后想出来了,

由于解决方案的规模,

构建正在抛出。

是否有任何最大限​​制或时间限制或某些事项我应该在某处处理这个“超时错误”?

错误文字

1>Done building target "EnsureNodeJsRequirementsAreAtCorrectVersion" in project "appname.jsproj".
1>Target "BuildMDA" in file "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\VisualStudio\v15.0\ApacheCordovaTools\vs-mda-targets\Microsoft.MDA.FileMirroring.targets":
1>  Task "CreateBuildInfoMetadata" skipped, due to false condition; ( '$(Platform)' == 'android' AND '$(TelemetryEnabled)' == 'True' ) was evaluated as ( 'iOS' == 'android' AND 'True' == 'True' ).
1>  Task "CreateBuildInfoMetadata" skipped, due to false condition; ( '@(BuildMDACpuSpecificPlatform)' != '' AND '$(TelemetryEnabled)' == 'True') was evaluated as ( '' != '' AND 'True' == 'True').
1>  Task "VsTac" skipped, due to false condition; ( '@(BuildMDACpuSpecificPlatform)' != '' ) was evaluated as ( '' != '' ).
1>  Using "VsTac" task from assembly "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\VisualStudio\v15.0\ApacheCordovaTools\vs-mda-targets\Microsoft.VisualStudio.MultiDeviceHybridApps.MdaBuildTasks.dll".
1>  Task "VsTac"
1>    Task Parameter:Platform=iOS
1>    Task Parameter:Configuration=Release
1>    Task Parameter:ProjectName=appname
1>    Task Parameter:BuildServerUrl=https://223.25.233.119:3000/cordova
1>    Task Parameter:CertificateName=223-25-233-119.revdns.8toinfinity.com.sg.RB
1>    Task Parameter:DebugTarget=iOSRemoteDevice
1>    Task Parameter:DetectNpmProxy=True
1>    Task Parameter:InstanceId=f6bbadf6
    ------ Submitting new build request to: https://223.25.233.119:3000/cordova/build/tasks?command=build&vcordova=7.0.1&cfg=release&options=--device
1>    MSBUILD : cordova-build error : An error occurred uploading to the build server https://223.25.233.119:3000/cordova/build/tasks?command=build&vcordova=7.0.1&cfg=release&options=--device: The operation has timed out
    ------ 05/24/2017 22:51:45 Checking on build status from  [Attempt 1]
1>    C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\VisualStudio\v15.0\ApacheCordovaTools\vs-mda-targets\Microsoft.MDA.FileMirroring.targets(256,5): error MSB4018: The "VsTac" task failed unexpectedly.
1>    C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\VisualStudio\v15.0\ApacheCordovaTools\vs-mda-targets\Microsoft.MDA.FileMirroring.targets(256,5): error MSB4018: System.ArgumentNullException: Value cannot be null.
1>    C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\VisualStudio\v15.0\ApacheCordovaTools\vs-mda-targets\Microsoft.MDA.FileMirroring.targets(256,5): error MSB4018: Parameter name: requestUriString
1>    C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\VisualStudio\v15.0\ApacheCordovaTools\vs-mda-targets\Microsoft.MDA.FileMirroring.targets(256,5): error MSB4018:    at System.Net.WebRequest.Create(String requestUriString)
1>    C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\VisualStudio\v15.0\ApacheCordovaTools\vs-mda-targets\Microsoft.MDA.FileMirroring.targets(256,5): error MSB4018:    at Microsoft.VisualStudio.MultiDeviceHybridApps.MdaBuildTasks.RemoteBuild.CreateWebRequest(String url)
1>    C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\VisualStudio\v15.0\ApacheCordovaTools\vs-mda-targets\Microsoft.MDA.FileMirroring.targets(256,5): error MSB4018:    at Microsoft.VisualStudio.MultiDeviceHybridApps.MdaBuildTasks.RemoteBuild.PollForBuildComplete(String buildingUrl, Int32 interval, Int32 attempts)
1>    C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\VisualStudio\v15.0\ApacheCordovaTools\vs-mda-targets\Microsoft.MDA.FileMirroring.targets(256,5): error MSB4018:    at Microsoft.VisualStudio.MultiDeviceHybridApps.MdaBuildTasks.RemoteBuild.Build()
1>    C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\VisualStudio\v15.0\ApacheCordovaTools\vs-mda-targets\Microsoft.MDA.FileMirroring.targets(256,5): error MSB4018:    at Microsoft.VisualStudio.MultiDeviceHybridApps.MdaBuildTasks.VsTac.BuildPlatform()
1>    C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\VisualStudio\v15.0\ApacheCordovaTools\vs-mda-targets\Microsoft.MDA.FileMirroring.targets(256,5): error MSB4018:    at Microsoft.VisualStudio.MultiDeviceHybridApps.MdaBuildTasks.VsTac.Execute()
1>    C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\VisualStudio\v15.0\ApacheCordovaTools\vs-mda-targets\Microsoft.MDA.FileMirroring.targets(256,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
1>    C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\VisualStudio\v15.0\ApacheCordovaTools\vs-mda-targets\Microsoft.MDA.FileMirroring.targets(256,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()
1>  Done executing task "VsTac" -- FAILED.
1>Done building target "BuildMDA" in project "appname.jsproj" -- FAILED.
1>
1>Done building project "appname.jsproj" -- FAILED.
1>
1>Project Performance Summary:
1>    115494 ms  D:\appname ios\appname\appname\appname.jsproj   1 calls
1>
1>Target Performance Summary:
1>        0 ms  AfterBuild                                 1 calls
1>        0 ms  BeforeBuild                                1 calls
1>        0 ms  CheckForIPACancel                          1 calls
1>        0 ms  CoreBuild                                  1 calls
1>        0 ms  _CheckForInvalidConfigurationAndPlatform   1 calls
1>        0 ms  BuildOnlySettings                          1 calls
1>        1 ms  EnsureNodeJsRequirementsAreAtCorrectVersion   1 calls
1>        1 ms  CompileTypeScript                          1 calls
1>        1 ms  PreComputeCompileTypeScript                1 calls
1>    115486 ms  BuildMDA                                   1 calls
1>
1>Task Performance Summary:
1>        0 ms  Message                                    2 calls
1>        1 ms  MdaVerifySetup                             1 calls
1>        3 ms  VsTsc                                      2 calls
1>    115485 ms  VsTac                                      1 calls
1>
1>Build FAILED.
1>
1>Time Elapsed 00:01:55.49
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========

2 个答案:

答案 0 :(得分:0)

删除您的平台文件夹并再次运行。它适用于我一段时间,但它不是最终的解决方案。 我还增加了/ users / {{your user}} / .taco_home / remote_builds / RemoteBuild.Config

的超时时间。

我还更新了remotebuild:npm install -g remotebuild

此解决方案不适用于发布版本。

更新时间:2017年6月7日:我改变了有线连接,一切都运行良好。

答案 1 :(得分:0)

vstac错误我因为网络延迟而得到了,我不得不想出创建一个空的解决方案然后将我的解决方案代码的一个对象放入其中以测试代码的哪一部分“要么在构建时失败”。没有代码失败,但由于屏幕中的图像大小和大量文件,VSTAC失败。

这已经解决了。