After putting an IPA through the application loader, and it passing without warnings, I receive a mail from iTunes Connect stating:
Missing Asset Catalog - Your app is missing the asset catalog file in ‘Clean.app’.
I assume that the building process is supposed to take care of this, and that the asset catalog is either omitted when building, or perhaps the asset catalog has a fault, that is then in turn interpreted as the list missing, when being evaluated by iTunes Connect.
What is the cause? How do I remedy this?
Some more info and speculation:
I called the project ‘Clean’ due it being a fresh project to test 4.18.0 iOS deployment rather than using something converted from earlier versions.
I’ve been uploading and testing on iOS for some time and have never encountered this problem until 4.18.0, so I assume that is relevant.
I dug into the intermediate folder and found the assetcatalog_generated_info.plist file in the /Intermediate/IOS/Resources folder. I assume this is, or what becomes, the asset catalog. Looking into it I notice there is no reference to the 1024 marketing icon, in spite of it being located in the same folder as all the other icons mentioned. I don’t know if this is as it should be, or the source of the problem.
Contents of assetcatalog_generated_info.plist file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleIcons</key>
<dict>
<key>CFBundlePrimaryIcon</key>
<dict>
<key>CFBundleIconFiles</key>
<array>
<string>AppIcon20x20</string>
<string>AppIcon29x29</string>
<string>AppIcon40x40</string>
<string>AppIcon60x60</string>
</array>
<key>CFBundleIconName</key>
<string>AppIcon</string>
</dict>
</dict>
<key>CFBundleIcons~ipad</key>
<dict>
<key>CFBundlePrimaryIcon</key>
<dict>
<key>CFBundleIconFiles</key>
<array>
<string>AppIcon20x20</string>
<string>AppIcon29x29</string>
<string>AppIcon40x40</string>
<string>AppIcon60x60</string>
<string>AppIcon76x76</string>
<string>AppIcon83.5x83.5</string>
</array>
<key>CFBundleIconName</key>
<string>AppIcon</string>
</dict>
</dict>
</dict>
</plist>
I also noticed that resetting the 1024x1024 marketing icon to its default, under ‘project settings / platform / iOS’ in the editor, gives the message “Could not overwrite image file.” and as I remember it, the 1024 marketing icon started out not pointing to any image, so I had to make one for testing purposes. Could be related to the larger issue.
Am I on to something here, or is it something else entirely causing the problem? Any insights to this issue will be greatly appreciated.