I'm trying to run app icon A/B test on App Store, but other icons are not displayed on "Product page Optimization" page.
As I see on the Internet, ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS
should be turned on in Xcode to include all icons. But as for Xamarin, there is no target build setting that would help to build archive with icons included.
I tried various methods, like inserting icons manually inside ipa, adding mtouch arguments, passing --include-all-app-icons
, etc...
But looks like I have to do something that would make archive include these icons. I just don't know what can help here
I found a hackish way to do that:
/usr/bin/xcrun actool --errors --warnings --notices --output-format xml1 --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.