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")
|
||||
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
|
||||
echo "Xcode $XCODE_VERSION required, $INSTALLED_XCODE_VERSION installed (at $(xcode-select -p))"
|
||||
exit 1
|
||||
if [ "$IGNORE_XCODE_VERSION_MISMATCH" = "1" ]; then
|
||||
XCODE_VERSION="$INSTALLED_XCODE_VERSION"
|
||||
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
|
||||
|
||||
GEN_DIRECTORY="build-input/gen/project"
|
||||
mkdir -p "$GEN_DIRECTORY"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user