diff --git a/Xcode/SDL/pkg-support/codesign-frameworks.sh b/Xcode/SDL/pkg-support/codesign-frameworks.sh index e6965e52d..d27ef7d0c 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