Discard xcode-build error when not on an Apple machine

This commit is contained in:
Jeffrey Walton 2016-03-21 12:42:10 -04:00
parent 4a3bd8a01f
commit f8396383c0

View File

@ -134,7 +134,7 @@ fi
# These sorts of tricks are a required procedure on Apple's gear:
# http://stackoverflow.com/questions/11651773/install-simulator-sdk-4-3-to-xcode-4-4-on-mountain-lion
if [ -z "$XCODE_DEVELOPER" ]; then
XCODE_DEVELOPER=$(xcode-select -print-path)
XCODE_DEVELOPER=$(xcode-select -print-path 2>/dev/null)
fi
if [ ! -d "$XCODE_DEVELOPER" ]; then