Trouble signing Apps for OSX Mountain Lion
If you're building desktop Apps for OSX, chances are you'll need or you're already working on getting them signed with Apple's certificate.
Otherwise your users might see this, starting with Mountain Lion:
I just signing few apps and scored new items in my erroropedia:
Error 1: "Error signing data"
$ productsign --sign 'Developer ID Application: YourCompany' from.pkg to.pkg productsign: signing product with identity "Developer ID Application: YourCompany" from keychain /Users/user/Library/Keychains/login.keychain Error signing data. productsign: error: Failed to sign the product.Reason: keychain is locked for access from SSH. Try
security unlock-keychain -pYou might also need to enable access to certificate private key for all applications:
Error 2: "MyApp.app: object file format unrecognized, invalid, or unsuitable"
One solution that worked for me:export CODESIGN_ALLOCATE="/Applications/Xcode.app/Contents/Developer/usr/bin/codesign_allocate"but it didn't work for other .app package I was trying.
Czyżbyś się przekwalifikował na dewelopera MacOSa?
ReplyDeleteMoje aplikacje od zawsze chodziły na Macu :-)
ReplyDeleteAle zaczynając od Mountain Liona, wszystkie aplikacje desktopowe (te w Javie też) muszą być podpisane certyfikatem od Apple.