Xcode Cloud - Build fail missing icon

Hi,

We successfully migrated to the new AppIcon from Icon Composer. Everything works great on simulator and on real devices. We also released a manually generated build that works great.

However when we build the same project from Xcode Cloud we get the following error:

None of the input catalogs contained a matching stickers icon set, app icon set, or icon stack named  "AppIcon"

The previous line seems to indicate that no icon is passed:

/Applications/Xcode.app/Contents/Developer/usr/bin/actool /Volumes/workspace/repository/Mail/Assets.xcassets --compile /Volumes/workspace/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/Infomaniak\ Mail/IntermediateBuildFilesPath/Mail.build/Release-iphoneos/Infomaniak\ Mail.build/assetcatalog_output/thinned --output-format human-readable-text --notices --warnings --export-dependency-info /Volumes/workspace/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/Infomaniak\ Mail/IntermediateBuildFilesPath/Mail.build/Release-iphoneos/Infomaniak\ Mail.build/assetcatalog_dependencies_thinned --output-partial-info-plist /Volumes/workspace/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/Infomaniak\ Mail/IntermediateBuildFilesPath/Mail.build/Release-iphoneos/Infomaniak\ Mail.build/assetcatalog_generated_info.plist_thinned --app-icon AppIcon --accent-color AccentColor --compress-pngs --enable-on-demand-resources YES --development-region en --target-device iphone --target-device ipad --minimum-deployment-target 15.0 --platform iphoneos

However when I archive locally, the icon seems correctly referenced:

/Applications/Xcode.app/Contents/Developer/usr/bin/actool /Users/<my name>/Developer/ios/infomaniak/apps/ios-kMail/Mail/Resources/AppIcon.icon /Users/<my name>/Developer/ios/infomaniak/apps/ios-kMail/Mail/Resources/Assets.xcassets --compile /Users/<my name>/Library/Developer/Xcode/DerivedData/Mail-fbgflwyftafvlmezepjlymckizhg/Build/Intermediates.noindex/ArchiveIntermediates/Infomaniak\ Mail/IntermediateBuildFilesPath/Mail.build/Release-iphoneos/Infomaniak\ Mail.build/assetcatalog_output/thinned --output-format human-readable-text --notices --warnings --export-dependency-info /Users/<my name>/Library/Developer/Xcode/DerivedData/Mail-fbgflwyftafvlmezepjlymckizhg/Build/Intermediates.noindex/ArchiveIntermediates/Infomaniak\ Mail/IntermediateBuildFilesPath/Mail.build/Release-iphoneos/Infomaniak\ Mail.build/assetcatalog_dependencies_thinned --output-partial-info-plist /Users/<my name>/Library/Developer/Xcode/DerivedData/Mail-fbgflwyftafvlmezepjlymckizhg/Build/Intermediates.noindex/ArchiveIntermediates/Infomaniak\ Mail/IntermediateBuildFilesPath/Mail.build/Release-iphoneos/Infomaniak\ Mail.build/assetcatalog_generated_info.plist_thinned --app-icon AppIcon --accent-color AccentColor --compress-pngs --enable-on-demand-resources YES --development-region en --target-device iphone --target-device ipad --minimum-deployment-target 15.0 --platform iphoneos

Has anyone encountered a similar issue ?

Answered by immortal79 in 859295022

There was an issue on our side when using tuist for project generation. This was resolved by updating our config. (https://github.com/Infomaniak/ios-SwissTransfer/pull/267/files#diff-d9f98adc995a21cdce3b38f85bba1d56e2f0c54d977c4ef834235e93df3855d3)

I’m also running into the same issue, everything works fine locally with the new .iconcomposer, but Xcode Cloud fails with the same “None of the input catalogs…” error.

Please file a Feedback report using Feedback Assistant, then post the number here. Be sure to attach a sample Xcode project that reproduces the issue.

Thank you for your answer. We filed a feedback with a sample project: FB20310800

@immortal79 please update your xcode environments, it worked for me.

Accepted Answer

There was an issue on our side when using tuist for project generation. This was resolved by updating our config. (https://github.com/Infomaniak/ios-SwissTransfer/pull/267/files#diff-d9f98adc995a21cdce3b38f85bba1d56e2f0c54d977c4ef834235e93df3855d3)

Xcode Cloud - Build fail missing icon
 
 
Q