Created
October 29, 2015 03:09
-
-
Save asus4/2fcd724ce06f718640b4 to your computer and use it in GitHub Desktop.
Modified https://github.com/Carthage/Carthage/blob/master/script/check-xcode-version Insert this snippet as XCode Build Phase.
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
# Check Xcode version | |
require_version="0710" | |
if [[ $XCODE_VERSION_ACTUAL != $require_version ]]; then | |
echo "error: Required Xcode $require_version (current $XCODE_VERSION_ACTUAL) to build ${PRODUCT_NAME}" | |
return -1 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment