mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
Fixed code signing release frameworks
This commit is contained in:
parent
962c9911ce
commit
9bd483439e
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/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
|
# Verify that $CODE_SIGN_IDENTITY is set
|
||||||
if [ -z "$CODE_SIGN_IDENTITY" ] ; then
|
if [ -z "$CODE_SIGN_IDENTITY" ] ; then
|
||||||
@ -14,20 +14,16 @@ if [ -z "$CODE_SIGN_IDENTITY" ] ; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SAVEIFS=$IFS
|
|
||||||
IFS=$(echo -en "\n\b")
|
|
||||||
|
|
||||||
FRAMEWORK_DIR="${TARGET_BUILD_DIR}"
|
FRAMEWORK_DIR="${TARGET_BUILD_DIR}"
|
||||||
|
|
||||||
# Loop through all frameworks
|
# 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=$?
|
RESULT=$?
|
||||||
if [[ $RESULT != 0 ]] ; then
|
if [[ $RESULT != 0 ]] ; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Found:"
|
echo "Found: ${FRAMEWORKS}"
|
||||||
echo "${FRAMEWORKS}"
|
|
||||||
|
|
||||||
for FRAMEWORK in $FRAMEWORKS;
|
for FRAMEWORK in $FRAMEWORKS;
|
||||||
do
|
do
|
||||||
@ -38,6 +34,3 @@ do
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# restore $IFS
|
|
||||||
IFS=$SAVEIFS
|
|
||||||
|
Loading…
Reference in New Issue
Block a user