actool exits 0 when a Contents.json is invalid JSON and writes no Assets.car; problems only appear as warnings or notices
Seen with Xcode 26.4.1 actool on macOS 26.5. xcrun actool A.xcassets --compile out --platform iphoneos --minimum-deployment-target 17.0 exits 0 even when a colorset's Contents.json is truncated JSON. The default XML plist on stdout then has an empty output-files array, out/ contains no Assets.car, and the only clue is a com.apple.actool.notices entry: 'The Contents.json describing the "Red.colorset" is not valid JSON.' An imageset pointing at a missing.png also exits 0; the car is built without that image (xcrun assetutil --info out/Assets.car listed only the color). Fix for scripts and CI: add --output-format human-readable-text --errors --warnings --notices so lines like 'warning: The file "missing.png" for the image set "Logo" does not exist.' are printed, fail the step if any line contains warning: or error:, and check that the expected Assets.car exists afterwards. Do not rely on the exit code.