osx - Signing a Package in MAC -


i have c++ code build on netbeans (8.0.1) on mac osx 10.10.

now want package binary i'm using packagemaker. once build on packagemaker finishes asks sign it, clicked 'allow'.

then open terminal , checked if package signed successfully, , got:

codesign -v g16.pkg g16.pkg: code object not signed @ all. 

i login apple developer "certificates, identifiers & profiles" page , have:

  • 2 developer id application certificate
  • 4 developer id installer
  • 1 mac app distribution
  • 1 mac development
  • 1 mac installer distribution

in keychain have 1 certificate under "my certificate" , 6 under "certificate".

so questions are:

  1. what differences between certificate?
  2. which certificate need use?
  3. what do wrong?

please me!!! :)

codesign signing of applications (not installers). should use productsign sign pkg files. certificate should using "developer id installer". (full name of certificate shown in keychain)

productsign --sign 'developer id installer: vikrams' 'pkg_path/temp.pkg' 'pkg_path/signed_temp.pkg' 

Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -