richardszalay / fastlane-plugin-act

Modify plists and app icons inside xcarchives/IPAs. Publish multiple iOS configurations without recompiling
MIT License
36 stars 5 forks source link

How do you use this to update the AppIcon file? #15

Open chriswilke opened 5 years ago

chriswilke commented 5 years ago

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!

richardszalay commented 5 years ago

@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.