全球Cordova 7.1.0无法为iOS远程设备构建

时间:2017-11-20 07:52:07

标签: visual-studio-2017 visual-studio-cordova

要重现我的问题,请按以下步骤操作:

  • Visual Studio 2017社区 - 版本15.4.4
  • 适用于Apache Cordova的Visual Studio工具 - 版本15.120.6728.2
  • 创建空白应用程序(Apache Cordova)
  • 更改了config.xml - > Cordova工具集 - > Global Cordova 7.1.0
  • 在MAC上安装所有必需的软件
  • 在VS选项中配置远程代理配置
  • 开始调试 - 调试模式 - iOS平台 - 远程设备

结果如下:

  

将构建发送到远程构建服务器

     

增量构建:错误

     

1> C:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ Community \ MSBuild \ Microsoft \ VisualStudio \ v15.0 \ ApacheCordovaTools \ vs-mda-targets \ Microsoft.MDA.FileMirroring.targets(256, 5):错误MSB4018:" VsTac"任务意外失败。

     

1> C:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ Community \ MSBuild \ Microsoft \ VisualStudio \ v15.0 \ ApacheCordovaTools \ vs-mda-targets \ Microsoft.MDA.FileMirroring.targets(256, 5):错误MSB4018:System.IO.FileNotFoundException:找不到文件' C:\ Users \ uadmin \ AppData \ Local \ Temp \ appAsTgz.tgz'。

     

1> C:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ Community \ MSBuild \ Microsoft \ VisualStudio \ v15.0 \ ApacheCordovaTools \ vs-mda-targets \ Microsoft.MDA.FileMirroring.targets(256, 5):错误MSB4018:文件名:' C:\ Users \ uadmin \ AppData \ Local \ Temp \ appAsTgz.tgz'

     

1> C:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ Community \ MSBuild \ Microsoft \ VisualStudio \ v15.0 \ ApacheCordovaTools \ vs-mda-targets \ Microsoft.MDA.FileMirroring.targets(256, 5):错误MSB4018:在System.IO .__ Error.WinIOError(Int32 errorCode,String maybeFullPath)

     

1> C:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ Community \ MSBuild \ Microsoft \ VisualStudio \ v15.0 \ ApacheCordovaTools \ vs-mda-targets \ Microsoft.MDA.FileMirroring.targets(256, 5):错误MSB4018:at System.IO.FileStream.Init(String path,FileMode mode,FileAccess access,Int32 rights,Boolean useRights,FileShare share,Int32 bufferSize,FileOptions options,SECURITY_ATTRIBUTES secAttrs,String msgPath,Boolean bFromProxy,Boolean useLongPath ,布尔检查主持人)

     

1> C:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ Community \ MSBuild \ Microsoft \ VisualStudio \ v15.0 \ ApacheCordovaTools \ vs-mda-targets \ Microsoft.MDA.FileMirroring.targets(256, 5):错误MSB4018:at System.IO.FileStream..ctor(String path,FileMode mode,FileAccess access,FileShare share,Int32 bufferSize,FileOptions options,String msgPath,Boolean bFromProxy)

     

1> C:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ Community \ MSBuild \ Microsoft \ VisualStudio \ v15.0 \ ApacheCordovaTools \ vs-mda-targets \ Microsoft.MDA.FileMirroring.targets(256, 5):错误MSB4018:在System.IO.FileStream..ctor(字符串路径,FileMode模式)

     

1> C:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ Community \ MSBuild \ Microsoft \ VisualStudio \ v15.0 \ ApacheCordovaTools \ vs-mda-targets \ Microsoft.MDA.FileMirroring.targets(256, 5):错误MSB4018:在Microsoft.VisualStudio.MultiDeviceHybridApps.MdaBuildTasks.RemoteBuild.AppAsTgzStream(String changeTimeFile,JObject lastChangeTimesMap)

     

1> C:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ Community \ MSBuild \ Microsoft \ VisualStudio \ v15.0 \ ApacheCordovaTools \ vs-mda-targets \ Microsoft.MDA.FileMirroring.targets(256, 5):错误MSB4018:在Microsoft.VisualStudio.MultiDeviceHybridApps.MdaBuildTasks.RemoteBuild.Build()

     

1> C:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ Community \ MSBuild \ Microsoft \ VisualStudio \ v15.0 \ ApacheCordovaTools \ vs-mda-targets \ Microsoft.MDA.FileMirroring.targets(256, 5):错误MSB4018:在Microsoft.VisualStudio.MultiDeviceHybridApps.MdaBuildTasks.VsTac.BuildPlatform()

     

1> C:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ Community \ MSBuild \ Microsoft \ VisualStudio \ v15.0 \ ApacheCordovaTools \ vs-mda-targets \ Microsoft.MDA.FileMirroring.targets(256, 5):错误MSB4018:在Microsoft.VisualStudio.MultiDeviceHybridApps.MdaBuildTasks.VsTac.Execute()

     

1> C:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ Community \ MSBuild \ Microsoft \ VisualStudio \ v15.0 \ ApacheCordovaTools \ vs-mda-targets \ Microsoft.MDA.FileMirroring.targets(256, 5):错误MSB4018:在Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()

     

1> C:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ Community \ MSBuild \ Microsoft \ VisualStudio \ v15.0 \ ApacheCordovaTools \ vs-mda-targets \ Microsoft.MDA.FileMirroring.targets(256, 5):错误MSB4018:在Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext()

     

1>完成建筑项目" BlankCordovaApp1.jsproj" - 失败。

     

==========构建:0成功,1失败,0最新,0跳过==========

     

==========部署:0成功,0失败,0跳过==========

Cordova开发团队的任何人都可以考虑这个问题吗?

这是完整Build输出的屏幕截图: https://i.stack.imgur.com/oyPW1.jpg

1 个答案:

答案 0 :(得分:3)

从节点8.x +降级到节点6.x并重试。