fastlane-plugin-act icon indicating copy to clipboard operation
fastlane-plugin-act copied to clipboard

How do you use this to update the AppIcon file?

Open chriswilke opened this issue 6 years ago • 1 comments

I am seeking assistance to replace the AppIcon inside the .ipa file.

Scenario: From a single target, I am building multiple applications. I store the AppIcon in the "metadata" folder for each app, not in the ImageAssets catalog. After the .ipa is created, I am wanting to copy over or replace the placeholder AppIcon with the AppIcon from the metadata folder.

Is it possible to copy AppIcon-custom to the AppIcon inside the .ipa file without the AppIcon-custom being in the ImageAssets?

Thanks!

chriswilke avatar Aug 08 '19 17:08 chriswilke

@chriswilke I haven't needed to actually use act in a while since I've been outside of the iOS development world, but yes you should be able to specify a .iconset via the iconset option as per the examples:

act(
  archive_path: "example/Example.ipa",
  iconset: "example/Blue.appiconset",
)

As per my latest comments on this thread, you'll need to make sure that you include all of the valid icon sizes in that iconset or you'll be rejected by the app store.

richardszalay avatar Aug 08 '19 22:08 richardszalay