【问题标题】:Command CompileAssetCatalog failed with a nonzero exit code. Xcode 13 beta 5命令 CompileAssetCatalog 失败,退出代码为非零。 Xcode 13 测试版 5
【发布时间】:2021-08-16 02:29:00
【问题描述】:

Xcode 13 beta 5 构建错误。

  • 已尝试清除派生数据
  • 干净的构建
  • 重启
  • 尝试了具有类似标题的可用 StackOverflow 解决方案

错误日志

2021-08-16 07:20:46.045 AssetCatalogSimulatorAgent[22021:116352] nil host used in call to allowsSpecificHTTPSCertificateForHost
2021-08-16 07:20:46.046 AssetCatalogSimulatorAgent[22021:116352] nil host used in call to allowsAnyHTTPSCertificateForHost:
2021-08-16 07:20:46.096 AssetCatalogSimulatorAgent[22021:116352] nil host used in call to allowsSpecificHTTPSCertificateForHost
2021-08-16 07:20:46.096 AssetCatalogSimulatorAgent[22021:116352] nil host used in call to allowsAnyHTTPSCertificateForHost:
2021-08-16 07:20:46.121 AssetCatalogSimulatorAgent[22021:116352] nil host used in call to allowsSpecificHTTPSCertificateForHost
2021-08-16 07:20:46.121 AssetCatalogSimulatorAgent[22021:116352] nil host used in call to allowsAnyHTTPSCertificateForHost:
2021-08-16 07:20:46.145 AssetCatalogSimulatorAgent[22021:116352] nil host used in call to allowsSpecificHTTPSCertificateForHost
2021-08-16 07:20:46.145 AssetCatalogSimulatorAgent[22021:116352] nil host used in call to allowsAnyHTTPSCertificateForHost:
2021-08-16 07:20:46.181 AssetCatalogSimulatorAgent[22021:116352] nil host used in call to allowsSpecificHTTPSCertificateForHost
2021-08-16 07:20:46.181 AssetCatalogSimulatorAgent[22021:116352] nil host used in call to allowsAnyHTTPSCertificateForHost:
2021-08-16 07:20:46.206 AssetCatalogSimulatorAgent[22021:116352] nil host used in call to allowsSpecificHTTPSCertificateForHost
2021-08-16 07:20:46.206 AssetCatalogSimulatorAgent[22021:116352] nil host used in call to allowsAnyHTTPSCertificateForHost:
2021-08-16 07:20:46.231 AssetCatalogSimulatorAgent[22021:116352] nil host used in call to allowsSpecificHTTPSCertificateForHost
2021-08-16 07:20:46.231 AssetCatalogSimulatorAgent[22021:116352] nil host used in call to allowsAnyHTTPSCertificateForHost:
2021-08-16 07:20:46.256 AssetCatalogSimulatorAgent[22021:116352] nil host used in call to allowsSpecificHTTPSCertificateForHost
2021-08-16 07:20:46.256 AssetCatalogSimulatorAgent[22021:116352] nil host used in call to allowsAnyHTTPSCertificateForHost:
Command CompileAssetCatalog failed with a nonzero exit code

【问题讨论】:

  • 您好,请问您的问题解决了吗?我遇到了同样的错误。
  • Xcode 13 RC 为我解决了这个问题。
  • 同样的兄弟需要帮助吗?

标签: xcode build


【解决方案1】:

在我的情况下,这是一个不存在的图标名称(没有资产),所以我更正了错字。

【讨论】:

    猜你喜欢
    • 2019-02-28
    • 2021-11-15
    • 1970-01-01
    • 2023-03-27
    • 2020-04-02
    • 2021-07-21
    • 2021-02-05
    • 2021-07-07
    • 2019-04-16
    相关资源
    最近更新 更多