Set CODE_SIGN_INJECT_BASE_ENTITLEMENTS=NO for release (#1974)

This removes the com.apple.security.get-task-allow entitlement on helper executable tools and XPC Services. While this is not a big deal, I don't think we should distribute executables with this entitlement which allows debugging them (with SIP / hardened runtime on). Note notarization ought to reject this entitlement with library validation enabled, so people must be getting around this anyway (either by using Xcode's Archive / Export which automatically strips this entitlement, or re-signing Sparkle tools without preserving entitlements).
This commit is contained in:
Zorg authored and GitHub committed 2021-10-17 23:31:07 -07:00
1 parent 1ede0bc994
commit f601a7a3df
1 file changed
+1
@@ -16,3 +16,4 @@ DEAD_CODE_STRIPPING = YES
GCC_TREAT_WARNINGS_AS_ERRORS = NO
GCC_WARN_UNINITIALIZED_AUTOS = YES
COPY_PHASE_STRIP = NO
CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO