diff --git a/config/base.xcconfig b/config/base.xcconfig index c96bbc19..0b5e027d 100644 --- a/config/base.xcconfig +++ b/config/base.xcconfig @@ -6,7 +6,8 @@ MACOSX_DEPLOYMENT_TARGET = 10.12 SWIFT_VERSION = 4.2 INFOPLIST_FILE = Info.plist CODE_SIGN_ENTITLEMENTS = alt_tab_macos.entitlements -ENABLE_HARDENED_RUNTIME = YES // for notarization IDEDerivedDataPathOverride = DerivedData FRAMEWORK_SEARCH_PATHS = $(inherited) /System/Library/PrivateFrameworks // for SkyLight.framework LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/../Frameworks // for accessing swift dylibs at runtime +ENABLE_HARDENED_RUNTIME = YES // for notarization +OTHER_CODE_SIGN_FLAGS = --timestamp --deep --options runtime // for notarization diff --git a/config/release.xcconfig b/config/release.xcconfig index 791e508b..f9c373d8 100644 --- a/config/release.xcconfig +++ b/config/release.xcconfig @@ -4,6 +4,5 @@ #include "base.xcconfig" CODE_SIGN_IDENTITY = Developer ID Application: Louis Pontoise (QXD7GW8FHY) -OTHER_CODE_SIGN_FLAGS = --timestamp --deep --options runtime // for notarization CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO // for notarization COCOAPODS_PARALLEL_CODE_SIGN = YES // codesign pods faster diff --git a/scripts/codesign_sparkle_embedded_apps.sh b/scripts/codesign_sparkle_embedded_apps.sh index fde94451..bfdc85a3 100755 --- a/scripts/codesign_sparkle_embedded_apps.sh +++ b/scripts/codesign_sparkle_embedded_apps.sh @@ -5,6 +5,4 @@ set -exu # codesign --deep is only 1 level deep. It misses Sparkle embedded app AutoUpdate # this build phase script works around the issue -if [[ "$CONFIGURATION" == "Release" ]]; then - codesign --verbose --force --sign "$CODE_SIGN_IDENTITY" $OTHER_CODE_SIGN_FLAGS "${PODS_ROOT}/Sparkle/Sparkle.framework/Resources/Autoupdate.app" -fi +codesign --verbose --force --sign "$CODE_SIGN_IDENTITY" $OTHER_CODE_SIGN_FLAGS "${PODS_ROOT}/Sparkle/Sparkle.framework/Resources/Autoupdate.app"