Unable to validate/distribute a tvOS app with a TVTopShelf extension

I'm able to build and run the TV app with the TVTopShelf extension on simulators and physical Apple TVs but I get an error when I try to validate (or distribute) the archive built from XCode. The error says:

App Store Connect Operation Error - Asset validation failed

The log files don't provide more information:

"Error Domain=ContentDelivery Code=90362 "App Store Connect Operation Error" UserInfo={IDEDistributionIssueSeverity=3, NSLocalizedDescription=App Store Connect Operation Error, NSLocalizedRecoverySuggestion=Asset validation failed}"

As far as I know the certificate, the identifiers and the provisioning profiles for both the tvOS app and the TVTopShelf extension are OK. When I choose to manually select signing options, I can set the provisioning profiles for both the app and the extension and XCode does not complain about them.

Is there something specific to know when distributing an app with an extension app? Is there some configuration to set on AppStoreConnect side? Or common pitfalls to avoid?

Thanks for your help.

Answered by patatrouf in 711066022

Turns out the Xcode "Validate App" action does not provide an explicit error whereas the "Distribute App" action does. And I've been able to fix my issue: the TV Top Shelf executable name in its Info.plist did not match the bundle folder name.

Accepted Answer

Turns out the Xcode "Validate App" action does not provide an explicit error whereas the "Distribute App" action does. And I've been able to fix my issue: the TV Top Shelf executable name in its Info.plist did not match the bundle folder name.

Unable to validate/distribute a tvOS app with a TVTopShelf extension
 
 
Q