Asset Compiling Error in Xcode 11.4 on macOS 10.15.4 release

Strange issue, just updated my macbook to 10.15.4 and got the new Xcode 11.4 release. The actool errors on this hardware compiling texture sets as data with the macos target.


Reproduction steps:

  1. New macOS project
  2. Add to asset catalog
  3. add new texture set to catalog
  4. add image to catalog (set type to data)
  5. Compile


Hardware

Graphics: Intel Iris Plus Graphics 645 (1536MB)

Proc: 1.4 Ghz Quad Core i5

Macbook pro (13in 2019 Two TB ports)

RAM: 16GB

cd /Users/apaxson/dev/projects/metal_by_tutorial/TestAssetCompiler
    /Applications/Xcode-beta.app/Contents/Developer/usr/bin/actool --output-format human-readable-text --notices --warnings --export-dependency-info /Users/apaxson/Library/Developer/Xcode/DerivedData/TestAssetCompiler-ebhvtxoncxawpvdhxnmbieogjjqd/Build/Intermediates.noindex/TestAssetCompiler.build/Debug/TestAssetCompiler.build/assetcatalog_dependencies --output-partial-info-plist /Users/apaxson/Library/Developer/Xcode/DerivedData/TestAssetCompiler-ebhvtxoncxawpvdhxnmbieogjjqd/Build/Intermediates.noindex/TestAssetCompiler.build/Debug/TestAssetCompiler.build/assetcatalog_generated_info.plist --app-icon AppIcon --enable-on-demand-resources NO --sticker-pack-identifier-prefix com.paxsonsa.TestAssetCompiler.sticker-pack. --development-region en --target-device mac --minimum-deployment-target 10.15 --platform macosx --product-type com.apple.product-type.application --compile /Users/apaxson/Library/Developer/Xcode/DerivedData/TestAssetCompiler-ebhvtxoncxawpvdhxnmbieogjjqd/Build/Products/Debug/TestAssetCompiler.app/Contents/Resources /Users/apaxson/dev/projects/metal_by_tutorial/TestAssetCompiler/TestAssetCompiler/Textures.xcassets /Users/apaxson/dev/projects/metal_by_tutorial/TestAssetCompiler/TestAssetCompiler/Preview\ Content/Preview\ Assets.xcassets /Users/apaxson/dev/projects/metal_by_tutorial/TestAssetCompiler/TestAssetCompiler/Assets.xcassets

2020-03-26 14:04:54.297 ibtoold[9514:367395] NSFileCoordinator is doing nothing.
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

Replies

Did a bit more digging and it does work if all texture sets in the catalog are set to color. Confused to as why data would not work.

https://drive.google.com/file/d/1zyt5_0MV2BYfb4H2aLGbRO3L-eC3a4to/view?usp=sharing

Above is a very simple project that gives me the above error the structure of the Asset Catalog looks like:


Textures.xcassets/Content.json

{
  "info" : {
    "author" : "xcode",
    "version" : 1
  }
}


Textures.xcassets/Texture.textureset/Content.json

{
  "info" : {
  "author" : "xcode",
  "version" : 1
  },
  "properties" : {
  "interpretation" : "data"
  },
  "textures" : [
  {
  "filename" : "Universal.mipmapset",
  "idiom" : "universal"
  }
  ]
}


Textures.xcassets/Texture.textureset/Universal.mipmapset/Content.json (Image is in this folder)

{
  "info" : {
  "author" : "xcode",
  "version" : 1
  },
  "levels" : [
  {
  "filename" : "chest-color.png",
  "mipmap-level" : "base"
  }
  ]
}

A bug report has been submitted here: FB7647328