Add check for bitcode
This commit is contained in:
parent
48e6942d79
commit
0562fc6c61
|
@ -26,3 +26,11 @@ cp -r include/$FWNAME/* $FWNAME.framework/Headers/
|
||||||
DIR="$(cd "$(dirname "$0")" && pwd)"
|
DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||||
cp $DIR/"OpenSSL-for-iOS/OpenSSL-for-iOS-Info.plist" $FWNAME.framework/Info.plist
|
cp $DIR/"OpenSSL-for-iOS/OpenSSL-for-iOS-Info.plist" $FWNAME.framework/Info.plist
|
||||||
echo "Created $FWNAME.framework"
|
echo "Created $FWNAME.framework"
|
||||||
|
|
||||||
|
check_bitcode=`otool -arch arm64 -l $FWNAME.framework/$FWNAME | grep __bitcode`
|
||||||
|
if [ -z "$check_bitcode" ]
|
||||||
|
then
|
||||||
|
echo "INFO: $FWNAME.framework doesn't contains Bitcode"
|
||||||
|
else
|
||||||
|
echo "INFO: $FWNAME.framework contains Bitcode"
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue