5

在 Visual Studio App Center 中开始构建时,我在构建日志中收到此错误。我该如何解决?

    ==============================================================================
    ##[error]Publish build artifacts failed with error: Not found PathtoPublish: /Users/ci/agent/vstsagent/_work/1/a/symbols
    ##[section]Finishing: Publish symbols
    ##[section]Starting: Create distribution
    ==============================================================================
    Task         : Mobile Center Upload
    Description  : Upload mobile app packages to Visual Studio Mobile Center
    Version      : 0.115.1
    Author       : Microsoft Corporation
    Help         : Upload mobile app packages to Visual Studio Mobile Center
    ==============================================================================
    ##[warning]Cannot find any file based on /Users/ci/agent/vstsagent/_work/1/a/symbols.
    ##[error]TypeError: Cannot read property 'forEach' of null
    ##[section]Finishing: Create distribution
    ##[section]Starting: Post Job Cleanup
4

1 回答 1

13

为了解决此问题,您可以尝试以下操作:

  1. 打开你的项目。
  2. 转到构建设置。
  3. 对于调试信息格式,选择“DWARF with dSYM File”。
  4. 提交代码并推送到 repo。
  5. 再次运行构建。

设置 Gif

于 2017-04-14T19:44:37.617 回答