Created
December 26, 2016 10:06
-
-
Save 3a4oT/622df779e6d6f39d28d7a6eaa9fe9e7b to your computer and use it in GitHub Desktop.
xcodebuild version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
XCODE_BUILD_VERSION=$(xcodebuild -version | grep -o '[0-9].[0-9].[0-9]$') # => major.minor.patch | |
MAJOR_VERSION=(${XCODE_BUILD_VERSION//./ }[0]) # => split to array and take major value | |
if [[ $MAJOR_VERSION > 7 ]]; then | |
echo "Xcode ${XCODE_BUILD_VERSION} uses library validation. It won't load in-process plugins anymore. See https://github.com/alcatraz/Alcatraz/issues/475" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment