Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Solved by solution from: Signing native installer with Apple's Developer ID certificate
codesign -f -v -s "Developer ID Application: Company Inc" "Install My App.app/Contents/Resources/MyApp/Contents/MacOS/MyApp"
codesign -f -v -s "Developer ID Application: Company Inc" "Install MyApp.app/Contents/MacOS/Install MyApp"
codesign -f -v -s "Developer ID Application: Company Inc" "Install MyApp.app"
However size of unzipped Adobe Air bundle for mac still worry (with embedded Adobe Air framework).