Custom app icon on macOS

I would like to provide a way to choose an app icon as a reward for using the referral feature of the app.

I found that setting the image via NSApp.applicationIconImage works, but only when the app is running, and the app icon is reset on the next launch.

I also found NSDockTile plugin APIs, and that seems to be the way, but it won't be allowed on the Mac App Store.

Is there really no way to do it legit way and pass the Mac App Store review?

Seems to be another really strange limitation imposed.

There's no supported way for you to change the app icon on a MacOS app for distribution to the AppStore with the APIs currently available. If you'd like us to consider adding the necessary functionality, please file an enhancement request using Feedback Assistant. Once you file the request, please post the FB number here. If you're not familiar with how to file enhancement requests, take a look at Bug Reporting: How and Why?

Custom app icon on macOS
 
 
Q