Hello everyone,
I am experiencing an issue with the Info.plist
file in my app, which prevents me from selecting a build on TestFlight. After several attempts to resolve the issue using Xcode documentation and forums, I contacted Apple Developer Support for assistance.
My Support Journey:
-
Developer Support Team
- They identified that the issue lies with the
CFBundleAlternateIcons
key in theInfo.plist
file. - However, they informed me that their scope is limited to administrative support for the Apple Developer Program and redirected me to the Developer Technical Support Team for code-level assistance.
- They identified that the issue lies with the
-
Developer Technical Support Team
- After reviewing my case, they advised me to use an alternative approach to the
CFBundleAlternateIcons
key in the main app bundle (Payload/maxplayer_androidtv.app/Info.plist
). - They recommended seeking further guidance on forums or through other technical resources.
- After reviewing my case, they advised me to use an alternative approach to the
Below is the current content of my Info.plist
file:
<key>CFBundleIcons</key>
<dict>
<key>CFBundlePrimaryIcon</key>
<string>AppIcon</string>
<key>CFBundleAlternateIcons</key>
<string>AlternateIcon</string>
</dict>
<key>XSAppIconAssets</key>
<string>Images.xcassets/AppIcon.appiconset</string>
<key>TVTopShelfImage</key>
<dict>
<key>TVTopShelfPrimaryImageWide</key>
<string>TopShelfImageWide</string>
<key>TVTopShelfPrimaryImage</key>
<string>TopShelfImage</string>
</dict>
Could anyone provide guidance on how to properly structure this file to resolve the issue? If anyone has an example of a correct Info.plist
file supporting alternate icons (CFBundleAlternateIcons
), I would greatly appreciate it.
Thank you in advance for your help!
Rather than specify any of the icon keys in your Info.plist
file yourself, remove those keys from your Info.plist file and let Xcode do it for you. (The build setting named Generate Info.plist File
also needs to be enabled.) For your main app icon, there's a place to specify the name of the app icon in your asset catalog. And for alternate app icons, you use the asset catalog to include the imagery, and then tell Xcode the name of those alternate icon sets by adding it to the Alternate App Icon Sets
build setting. There's a sample code project that shows this configuration.
The XSAppIconAssets
key caught my eye here as well, since it's not one of Apple's Info.plist
keys. If you have third-party tooling that is involved with your build or icon management, or generating your Xcode project for you, you may also need to talk with the vendor, as their tooling also may not be doing the right thing for you here.
— Ed Ford, DTS Engineer