How to add alternate App Icon for A/B testing?

Apple didn’t provided all the details in documentation related to A/B testing on AppIcon. So, here I am writing all steps in this tutorial.

  1. Create your variations of app icons (1024px x 1024px)
  2. Set your app icon(s) in Xcode as another App Icon in the Asset Catalog, add icons in all the relevant sizes 
  1. Since Xcode 13, Asset Catalog supports Alternate App Icons and there’s a corresponding build setting we need to change to the target’s Build Settings: 
  1. Change the Include All App Icon Asset to Yes
  2. Add the App Icon Set you added in step 2 to the Alternate App Icon Sets setting, you can add more than one.
  3. Change the Primary App Icon Set Name to the default app icon if needed
  4. You need to upload your new build to review.
  5. Only after your new build has been approved and your app is in Ready For Sale state, you may find your alternate app icons in the Product Page Optimization under the App Icon tab 

Conclusion

Let me know if you have any questions, comments, or feedback – contact me on Twitter.

Stay Safe At Home. Learn Something New. Share To The World.
Happy Coding 🙂