Commit ed30c80c5c3ac1bfbb76fa525343a645ee58d053

Sam Lantinga 2014-07-07T23:48:21

Fixed supporting multiple frameworks

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/Xcode/SDL/pkg-support/codesign-frameworks.sh b/Xcode/SDL/pkg-support/codesign-frameworks.sh
index e6965e5..d27ef7d 100755
--- a/Xcode/SDL/pkg-support/codesign-frameworks.sh
+++ b/Xcode/SDL/pkg-support/codesign-frameworks.sh
@@ -17,7 +17,7 @@ fi
 FRAMEWORK_DIR="${TARGET_BUILD_DIR}"
 
 # Loop through all frameworks
-FRAMEWORKS=`find "${FRAMEWORK_DIR}" -type d -name "*.framework"`
+FRAMEWORKS=`find "${FRAMEWORK_DIR}" -type d -name "*.framework" | sort -r`
 RESULT=$?
 if [[ $RESULT != 0 ]] ; then
     exit 1