diff --git a/mkspecs/common/xcode.conf b/mkspecs/common/xcode.conf index 4604caf0748..9da6406f7f3 100644 --- a/mkspecs/common/xcode.conf +++ b/mkspecs/common/xcode.conf @@ -13,5 +13,5 @@ isEmpty(QMAKE_XCODE_DEVELOPER_PATH): \ # Extract Xcode version using xcodebuild xcode_version = $$system("xcodebuild -version") -QMAKE_XCODE_VERSION = $$first(xcode_version) +QMAKE_XCODE_VERSION = $$member(xcode_version, 1) unset(xcode_version)