79778207

Date: 2025-09-29 14:09:38
Score: 0.5
Natty:
Report link

So, I finally got the AppIcon back but I had to do a lot to make it happen. In summary, I had to basically delete my subscriptions in AppStore Connect, comment out any subscription stuff in my code, verify the app icon had the right specifications, verify that I was using the correct asset catalog, archive to AppStore Connect, recreate my subscriptions, uncomment out the subscription stuff in my code and change to the new subscription group id, and re-archive to AppStore Connect.

This seems to have been some sort of caching issue with AppStore Connect and it was the only way I could trick it to get the icon back on the .manageSubscriptionsSheet. Below is a more detailed description of the steps that I took to fix this. In conclusion, my recommendation would be to verify that your app icon is correctly formatted with the correct specifications/sizes and uploaded to AppStore Connect prior to adding any subscriptions if possible. In addition, once subscriptions are added, I would NOT change the app icon unless it's absolutely necessary.

Note: For my app, I have two subscriptions within one subscription group.

Steps taken:

  1. Make sure the picture being used is a .png with Color Space=RGB, Color Profile= sRGB IEC61966-2.1, Alpha=No. Use all sizes in the asset catalog, not just single size

  2. Once the icons are in the asset catalog (Asset.xcassets), right click on the 1024x1024 to "Show in Finder", and then "Get Info" to make sure it has the above specifications

  3. Verify that the name of the AppIcon that you're using in the asset catalog is the same one on the main app target page Target -> General -> App Icons and Launch Screens. Also verify that Target -> Build Settings -> Asset Catalog Compliler - Options -> Primary App Icon Set Name has the same AppIcon name.

  4. Verify that there are no "ghost" asset catalogs by using terminal, navigating to your project directory, and entering the command:

    find . -name "*.xcassets" -print

    In most cases, there should only be one asset catalog listed (besides the one used for Xcode previews).

  5. Delete or comment out all storeKit code from Xcode (I'm not sure this step is necessary but after many attempts, this step finally seemed to work) AND delete the subscriptions (including the group) from AppStore Connect. Note: I had two subscriptions within one subscription group.

  6. Delete any .storekit files that sync with AppStore.

  7. Test and run in simulator to make sure that the code still works without the subscription stuff.

  8. For your project, under Targets -> General, use a new version and build of your app (new version may have somehow forced an update of the app icon. It can be a small jump like going from version 1.0 to 1.0.1

  9. Clean the build folder, build, save project, exit Xcode, delete derived data, open project again, clear build folder again, build, and archive to AppStore connect. Be sure that the scheme you are using does NOT have a reference to any .storekit file. Edit scheme -> Options -> StoreKit Configuration file -> "none". It should be "none" for Testflight and Release builds

  10. Once the build uploads to AppStore Connect, go to the main Dstribution tab, and under "Build", select the build that you just uploaded and hit the Save button.

  11. Now put back/uncomment all the StoreKit code in your project

  12. Redo your subscriptions in AppStore Connect. Note: you will now have a new subscription group id.

  13. Each subscription within the group should have a status of "Ready to Submit" and localizations should say "Prepare for Submission". If it says metadata missing, you are missing one of the following: localizations (either for the individual subscriptions or for the group), availability or pricing info, or the “Review Information” screenshot/notes. It must not have metadata missing or this will not work.

  14. Edit your code and swap the new subscription group id for the old one.

  15. Generate a new .storekit file that syncs to AppStore.

  16. Edit scheme -> Options and select that Storekit Configuration file (this is so you can test with simulator to verify that everything works before archiving a new build)

  17. Run and test in simulator to make sure that all your storekit stuff is working again.

  18. Now edit scheme again and set Storekit Configuration file to "none"

  19. Now archive and upload again to AppStore Connect

  20. Once the build is there under TestFlight, go back to the main distribution tab (under "Build"), select the build that was just uploaded and hit the Save button. After hitting save, under "In-App Purchases and Subscriptions", select your subscriptions

  21. Delete the old app version from whatever physical device you are using to test and re-download the new version. When you run the app, your subscription will show up as new because of the new group id. When you buy or manage the subscription, you should see the app icon.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: KatM