Previous commit was finishing a merge but also project changes to allow codesigning to work automatically. These two scripts are used in Run Script phases to fix up signing automatically; the symlinks were added to meet codesign's expectations adium-1.5.10.5
authorEvan Schoenberg
Thu, 14 Nov 2019 19:46:03 -0500
branchadium-1.5.10.5
changeset 6009 b532018ba9c8
parent 6008 651cb717da1b
child 6010 ea444ef3211e
Previous commit was finishing a merge but also project changes to allow codesigning to work automatically. These two scripts are used in Run Script phases to fix up signing automatically; the symlinks were added to meet codesign's expectations
Build-Phases/codesign-executable.sh
Build-Phases/codesign-frameworks.sh
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Build-Phases/codesign-executable.sh	Thu Nov 14 19:46:03 2019 -0500
@@ -0,0 +1,5 @@
+####
+# Deep sign the built executable with the current code signing identity. This is a fix for Xcode's faulty handling of frameworks;
+# without this step, the framework bundle fails to sign because the binary itself isn't yet signed. (?!?) -evands 11-14-2019
+####
+codesign -f -v --deep -s "${CODE_SIGN_IDENTITY}" "${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Build-Phases/codesign-frameworks.sh	Thu Nov 14 19:46:03 2019 -0500
@@ -0,0 +1,5 @@
+####
+# Deep sign the libotr and libpurple frameworks; ineffably, they don't sign properly when Code Sign On Copy is enabled -evands 11-14-2019
+####
+codesign -f --verbose=4 --deep -s "${CODE_SIGN_IDENTITY}" "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/libotr.framework/Versions/Current"
+codesign -f --verbose=4 --deep -s "${CODE_SIGN_IDENTITY}" "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/libpurple.framework/Versions/Current"