Chapter 6: Asset Catalog - Data Interpretation error

When using the asset catalog, assigning the interpretation to Colors works fine. However assigning it as Data doesn’t compile wit the error:

Assertion failed: (maxCountIncludingZeroTerminator > 0 && tokenCount < maxCountIncludingZeroTerminator), function CUIRenditionKeyCopy, file /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/CoreUI/CoreUI-609.4/CoreTheme/ThemeStorage/CUIThemeRendition_Support.m, line 849.

Command CompileAssetCatalog failed with a nonzero exit code

Compiling the final example project has a similar error:

2020-06-19 15:01:03.038 ibtoold[30063:2806990] NSFileCoordinator is doing nothing.

Command CompileAssetCatalog failed with a nonzero exit code
2 Likes

I am running into the same error. Will report back if I find a solution.

Here’s a solution: Error when compiling Textures for macOS - #18 by apaxson

1 Like

Thanks for posting the solution :slight_smile: