Xcode – Command CompileAssetCatalog failed with a nonzero exit code

buildcompiler-errorsxcode

Running Xcode 10 and can not seem to find much information on this error that occurs when building my project.

Any ideas on how to fix this?

Here is the last line before the error:

Desktop/CheerApp!/CheerApp!/Assets.xcassets Command
CompileAssetCatalog failed with a nonzero exit code –

Expanded:

CompileAssetCatalog
/Users/michaelansell/Library/Developer/Xcode/DerivedData/CheerApp!-ehbjnqaldsycfegiviymewkplqhm/Build/Products/Debug-iphonesimulator/CheerApp!.app
/Users/michaelansell/Desktop/CheerApp!/CheerApp!/Assets.xcassets (in
target: CheerApp!)
cd /Users/michaelansell/Desktop/CheerApp!
/Applications/Xcode.app/Contents/Developer/usr/bin/actool –output-format human-readable-text –notices –warnings –export-dependency-info /Users/michaelansell/Library/Developer/Xcode/DerivedData/CheerApp!-ehbjnqaldsycfegiviymewkplqhm/Build/Intermediates.noindex/CheerApp!.build/Debug-iphonesimulator/CheerApp!.build/assetcatalog_dependencies
–output-partial-info-plist /Users/michaelansell/Library/Developer/Xcode/DerivedData/CheerApp!-ehbjnqaldsycfegiviymewkplqhm/Build/Intermediates.noindex/CheerApp!.build/Debug-iphonesimulator/CheerApp!.build/assetcatalog_generated_info.plist
–app-icon AppIcon –compress-pngs –enable-on-demand-resources YES –optimization space –filter-for-device-model iPhone11,2 –filter-for-device-os-version 12.0 –sticker-pack-identifier-prefix Mike.CheerApp-.sticker-pack. –target-device iphone –target-device
ipad –minimum-deployment-target 11.4 –platform iphonesimulator
–product-type com.apple.product-type.application –compile /Users/michaelansell/Library/Developer/Xcode/DerivedData/CheerApp!-ehbjnqaldsycfegiviymewkplqhm/Build/Products/Debug-iphonesimulator/

Best Answer

I managed to resolve this by doing a "build clean", removing "DerivedData" folder and re-starting my Mac.

Related Topic