Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

codesign --deep is deprecated #245

Closed
1 of 3 tasks
kerner1000 opened this issue Jul 26, 2022 · 3 comments
Closed
1 of 3 tasks

codesign --deep is deprecated #245

kerner1000 opened this issue Jul 26, 2022 · 3 comments
Labels
bug Something isn't working fixed Issue fixed and release pending

Comments

@kerner1000
Copy link
Contributor

I'm submitting a…

  • bug report
  • feature request
  • other

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' 
@kerner1000
Copy link
Contributor Author

Working on this one.

@fvarrui fvarrui added bug Something isn't working fixed Issue fixed and release pending labels Aug 24, 2022
@fvarrui
Copy link
Owner

fvarrui commented Aug 24, 2022

Fixed in PR #252

@fvarrui
Copy link
Owner

fvarrui commented Feb 8, 2023

JavaPackager 1.7.0 released to Maven Central

@fvarrui fvarrui closed this as completed Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed Issue fixed and release pending
Projects
None yet
Development

No branches or pull requests

2 participants