Quantcast
Channel: User Yura Babiy - Stack Overflow
Viewing all articles
Browse latest Browse all 39

Answer by Yura Babiy for How to include all icons in Xamarin.iOS / Xamarin.Forms IAP for App Store app icon A/B test?

$
0
0

I found a hackish way to do that:

  1. Add icons you want to test alongside with other png resources in the name pattern - "{name}60x60@2x.png" and "{name}76x76@2x.png". See attached screenshot. enter image description here
  2. Add icons as app icon assets
  3. Compile release build.
  4. Make an Archive (I'm doing it with Rider)
  5. During the Archive build, there is a step where Resources are included, but they ignore to add our alternative icons. So we need to run this step manually, with an argument we need to add. So the command in the terminal looks like this:

/usr/bin/xcrun actool --errors --warnings --notices --output-formatxml1 --output-partial-info-plist/Users/y.babii/Documents/GitHub/WhatIsUkraine/src/WhatIsUkraine.iOS/obj/iPhone/Release/actool/partial-info.plist--app-icon AppIcon --include-all-app-icons--alternate-app-icon"AppIcon_1" --compress-pngs --target-device iphone --minimum-deployment-target 13.0 --platform iphoneos --compile/Users/y.babii/Documents/GitHub/WhatIsUkraine/src/WhatIsUkraine.iOS/obj/iPhone/Release/actool/bundle/Users/y.babii/Documents/GitHub/WhatIsUkraine/src/WhatIsUkraine.iOS/obj/iPhone/Release/actool/cloned-assets/Resources/Media.xcassets

Note: It's ok that we only mention AppIcon_1, the rest will be included as well.

  1. Make an Archive again
  2. Open the new Archive inside Xcode. (just double click on it from Finder)
  3. Build an IPA and send it to App Store Connect via Xcode.
  4. You can check if icons are included in the build by creating a new version on App Store Connect, attaching the build and checking included assets (click on the icon, then it should open a carousel with other icons). See attached screenshot. enter image description here

Viewing all articles
Browse latest Browse all 39

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>