Command CompileAssetCatalog failed with a nonzero exit code. Xcode 13 beta 5

Viewed 1372

Xcode 13 beta 5 build error.

  • Tried clearing out derived data
  • Clean build
  • Restart
  • Tried available StackOverflow solutions with similar title

Error log

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
1 Answers

In my case It was an icon name that didn't exist (didn't have the asset), so I corrected the typo.

enter image description here

Related