Fix hardened runtime entitlement for scripting languages and add app signing scripts #980
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hardened runtime entitlements
Add hardened runtime entitlements to allow AppleScript + scripting languages to work.
Add
get-task-allow
entitlement which seems to be necessary to get scripting languages like Python to work. It's discouraged in docs, and Apple may not allow it from January 2020 onwards so this is not a safe long term solution and we need to find out how to get Python and other scripting languages to work without settingget-task-allow
.Fix #978
Also see #979
App signing / notarization scripts
Add scripts to sign and notarize MacVim
Add two scripts. First one signs the MacVim app bundle and dmg files with developer certificate. Second one submits the dmg file to Apple for app notarization, and waits for the results to come back.
Also added Makefile target
macvim-dmg-release
that will use these scripts to create a signed and notarized dmg file that can be distributed and will be play nice with macOS Gatekeeper.