fix: also codesign debug builds

This commit is contained in:
louis.pontoise authored and lwouis committed 2020-03-10 14:00:37 +09:00
1 parent dcff55aecf
commit a5f9911e36
3 files changed
+3 -5

No files matched your search

+2 -1
View File
@@ -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
-1
View File
@@ -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
+1 -3
View File
@@ -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"