I'm submitting a…
According to this doc (developer.apple.com), the --deep option is deprecated and does not work reliably. From my personal experience, the following works better:
#!/bin/bash
find "../MyApp.app" -depth -type f -exec codesign -v -f -o runtime -s '3rd Party Mac Developer Application: Max Mustermann (6W37Y2F4CM)' --entitlements 'assets/mac/entitlements.plist' {} \;
codesign -f -o runtime --entitlements 'entitlements.plist' -s '3rd Party Mac Developer Application: Max Mustermann (6W37Y3F4CM)' 'MyApp.app/Contents/MacOS/launcher'
codesign -f -o runtime --entitlements '/Volumes/Case-sensitive Volume/sources/drrename/assets/mac/entitlements.plist' -s '3rd Party Mac Developer Application: Max Mustermann (6W37Y3F4CM)' '../MyApp.app'
I'm submitting a…
According to this doc (developer.apple.com), the
--deepoption is deprecated and does not work reliably. From my personal experience, the following works better: