Signed the contents of the application with the following command
sudo find MyApp.app/Contents/ -type f \( -name "*.jar" -or -name "*.dylib" -or -name "*.properties" \) -exec codesign --verbose -f -s 'Developer ID Application: MyCompany LLC (*********)' --entitlements MyApp.entitlements {} \;
But only the .dylb files are signed with "Mach-O thin (x_86_64)"
the .jar/.properties files are "signed generic"
After signing the entire app with the following comman
sudo codesign -v -f -s 'Developer ID Application: MyCompany LLC (*********)' --deep --entitlements binfer.entitlements MyApp.app
On submiting the .pkg the error received is:
code object is not signed at all In subcomponent: /Volumes/data01/app_data/dstr/mz_3452071965708215426dir/mz_406733193468940707dir/com.company.pkg/Payload/MyApp.app/Contents/PlugIns/Java/Contents/Home/jre/lib/calendars.properties.
How do I sign all the files (.jar and .properties with codesign Apple developer certificate)