mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-02 00:17:02 +00:00
Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios
This commit is contained in:
commit
9cbfa411fd
@ -17,11 +17,14 @@ fi
|
|||||||
XCODE_VERSION=$(cat "build-system/xcode_version")
|
XCODE_VERSION=$(cat "build-system/xcode_version")
|
||||||
INSTALLED_XCODE_VERSION=$(echo `plutil -p \`xcode-select -p\`/../Info.plist | grep -e CFBundleShortVersionString | sed 's/[^0-9\.]*//g'`)
|
INSTALLED_XCODE_VERSION=$(echo `plutil -p \`xcode-select -p\`/../Info.plist | grep -e CFBundleShortVersionString | sed 's/[^0-9\.]*//g'`)
|
||||||
|
|
||||||
if [ "$INSTALLED_XCODE_VERSION" != "$XCODE_VERSION" ]; then
|
if [ "$IGNORE_XCODE_VERSION_MISMATCH" = "1" ]; then
|
||||||
echo "Xcode $XCODE_VERSION required, $INSTALLED_XCODE_VERSION installed (at $(xcode-select -p))"
|
XCODE_VERSION="$INSTALLED_XCODE_VERSION"
|
||||||
exit 1
|
else
|
||||||
|
if [ "$INSTALLED_XCODE_VERSION" != "$XCODE_VERSION" ]; then
|
||||||
|
echo "Xcode $XCODE_VERSION required, $INSTALLED_XCODE_VERSION installed (at $(xcode-select -p))"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
GEN_DIRECTORY="build-input/gen/project"
|
GEN_DIRECTORY="build-input/gen/project"
|
||||||
mkdir -p "$GEN_DIRECTORY"
|
mkdir -p "$GEN_DIRECTORY"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user