macOS build: Avoid the Get-Task-Allow Entitlement (Notarization)
authorMichael Schuster <michael@schuster.ms>
Sun, 17 Nov 2019 20:33:04 +0000 (21:33 +0100)
committerMichael Schuster <michael@schuster.ms>
Sun, 17 Nov 2019 20:33:04 +0000 (21:33 +0100)
Setting CODE_SIGN_INJECT_BASE_ENTITLEMENTS to NO is required for macOS
Notarization.

See: https://developer.apple.com/documentation/xcode/notarizing_macos_software_before_distribution/resolving_common_notarization_issues

And upstream: https://github.com/owncloud/client/pull/7007/commits/97f4af32ae1b64e835bb41c78c8abe6689916c01

Signed-off-by: Michael Schuster <michael@schuster.ms>
shell_integration/MacOSX/OwnCloudFinderSync/OwnCloudFinderSync.xcodeproj/project.pbxproj

index 950ac20272718ee0fe113e3603bda68e9e7f3d9e..5d987c86f2bb8b7485dc5cb21075eab858988a44 100644 (file)
                                CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
                                CODE_SIGN_ENTITLEMENTS = FinderSyncExt/FinderSyncExt.entitlements;
                                CODE_SIGN_IDENTITY = "-";
+                               CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO;
                                COMBINE_HIDPI_IMAGES = YES;
                                COPY_PHASE_STRIP = NO;
                                DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";