I already installed the code certificate of my .app in Mac OS but this error ""App name here.app" is damaged and can't be opened." still showing, and when I check the “Obtained from” in System Information>Software>Applications of my app it says “Unknown”. Is there any way to set my app as “Identified Developer” after code signing my app? Please help.
Unidentified Developer after code signing
Is there any way to set my app as “Identified Developer” after code signing my app? Please help.
Some questions:
- How are you signing your app?
- What platform are you signing it for?
- What type of signing identity are you using?
- Are you running this on a test device or is this being installed and tested somewhere else?
Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com
Hi Matt,
- Using terminal by this command sudo codesign --force --sign "Apple Distribution: **** (****)" /Users/mac/Desktop/.app"
- Mac OS application
- What do you mean by this?
- Installed and tested on other device, working properly on any mac book last year and no errors found running the app.
Btw, this is JavaFX app so that's why im using terminal... and also i tried both my certificate Comodo and Apple Certificate but both of them is Unidentified.
Cheers, Jay
In my experience Java apps contain a lot of code items and you must re-sign each of those code items separately, from the inside out. See Signing a Mac Product For Distribution for the details.
also i tried both my certificate Comodo and Apple Certificate but both of them is Unidentified.
Apple platforms don’t support third-party signing identities. Well, on the Mac you can sign your code with a third-party signing identity but it doesn’t buy you anything; macOS treats it more-or-less like unsigned code [1].
How do you plan to distribute this app? Via the Mac App Store? Or independently, using Developer ID signing?
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
[1] It’s actually better than that — because your code has a stable code signing identity — but not much better.