Codesign Mac OS application using third party certificate

Creating package for Mac OS,

I have application.app which is code signed successfully using "codesign " utility.

When I create package using pkgbuild. it creates application.pkg properly which installs at /Applications dir.

but when I run following command on installed application. "codesign --verify --verbose application.app".

I got error "application.app: code object is not signed at all In subcomponent: "

Somehow pkgbuild is destroying my code signing.

Any Guess?

I am trying code sign using thirdpaty certificate not the apple dev I

Replies

I have same issue. After pkgbuild, dylibs seem to have lost code signing or corrupt?


Anybody ?