MacOS. Problem with code signature if 2 signed applications installed with a same certificate
I have Apple Developer certificate and signed 2 MacOS applications with it. For staging and production. They have different appId. That are adobe air apps with `extendedDesktop` profile and packaged with target `native` which produce DMG file. Adobe Air 20
So when I install first - all fine.
When I installed second one - it is installed, but can't be run due to gatekeeper with "unidentified developer" alert.
Installation order doesn't matter.
I checked code signature in mounted DMG. `Install MyApp.app` has valid signature. And gate-keeper allows to install it. But when it's time to launch app - gate-keeper blocks it, because actual `/Application/MyApp.app` doesn't have valid signature anymore. While firstly installed app has valid signature.
I expect problem can be fixed by embeding Adobe Air 20 via packaging as `bundle`. But resulted output was more than 100 MB so I wasn't able to package it to DMG. I should try to PKG later.
Please suggest workaround for signing for Mac.
