We distribute our app externally to the users and not through the App Store. Our app is built and uploaded on our servers. We generate the app's configuration (different for each customer) on our servers and then package the configuration with the app. App is then signed and distributed to the end-users.
One of the configuration items is the app icon, which is placed in the apps /Contents/Resources directory.
With notarization being an asynchronous process, we need to provide a signed app for which the resources can't be altered as it would break the signing. Looking for solutions to change the app icon dynamically without breaking the app signature.
Solutions tried:
1. Modify the Icon file field in the app's info.plist with the URL of the icns file - Doesn't work and the icon doesn't change. Also breaks the signing as info.plist is inside the app.
2. Change the icon in the resources folder - Breaks signing as we have changed the contents inside the app.
Any suggestions on how this can be achieved?