From 9bd483439e60b26172ba11a88a93670679dcdfcc Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 7 Jul 2014 23:40:10 -0700 Subject: [PATCH] Fixed code signing release frameworks --- Xcode/SDL/pkg-support/codesign-frameworks.sh | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/Xcode/SDL/pkg-support/codesign-frameworks.sh b/Xcode/SDL/pkg-support/codesign-frameworks.sh index 16dea2519..e6965e52d 100755 --- a/Xcode/SDL/pkg-support/codesign-frameworks.sh +++ b/Xcode/SDL/pkg-support/codesign-frameworks.sh @@ -1,6 +1,6 @@ #!/bin/sh -# WARNING: You may have to run Clean in Xcode after changing CODE_SIGN_IDENTITY! +# WARNING: You may have to run Clean in Xcode after changing CODE_SIGN_IDENTITY! # Verify that $CODE_SIGN_IDENTITY is set if [ -z "$CODE_SIGN_IDENTITY" ] ; then @@ -14,20 +14,16 @@ if [ -z "$CODE_SIGN_IDENTITY" ] ; then fi fi -SAVEIFS=$IFS -IFS=$(echo -en "\n\b") - FRAMEWORK_DIR="${TARGET_BUILD_DIR}" # Loop through all frameworks -FRAMEWORKS=`find "${FRAMEWORK_DIR}" -type d -name "*.framework" | sed -e "s/\(.*\)/\1\/Versions\/A\//"` +FRAMEWORKS=`find "${FRAMEWORK_DIR}" -type d -name "*.framework"` RESULT=$? if [[ $RESULT != 0 ]] ; then exit 1 fi -echo "Found:" -echo "${FRAMEWORKS}" +echo "Found: ${FRAMEWORKS}" for FRAMEWORK in $FRAMEWORKS; do @@ -38,6 +34,3 @@ do exit 1 fi done - -# restore $IFS -IFS=$SAVEIFS