When I use codesign with deep option to sign my app and includeded frameworks, codesign verifies as good.
codesign --verbose=4 --deep -s "Acme, Inc." ${appFolder} my-usb-ev-token
codesign --verify --verbose=4 ${appFolder}
...
...
...
app/TSR.app/Contents/PlugIns/printsupport/libcocoaprintersupport.dylib
--validated:/Users/edward3/Documents/projects/build-tsr-Desktop_Qt_5_5_0_clang_64bit-Release/tsr-app/TSR.app/Contents/PlugIns/printsupport/libcocoaprintersupport.dylib
/Users/edward3/Documents/projects/build-tsr-Desktop_Qt_5_5_0_clang_64bit-Release/tsr-app/TSR.app: valid on disk
/Users/edward3/Documents/projects/build-tsr-Desktop_Qt_5_5_0_clang_64bit-Release/tsr-app/TSR.app: satisfies its Designated Requirement
spctl --verbose --***** --type execute -v TSR.app/
TSR.app/: rejected
origin=Acme, Inc.
I am distributing my app in a dmg for distribution outside the Mac app store.
Any tips or suggestions on how to properly codesign is much appreciated,
-Ed
OS X 10.10.5
XCode 6.4