From 04fe878f70fc1294ca55802bf090ed8ea7580aa0 Mon Sep 17 00:00:00 2001 From: Ivan Komissarov Date: Sat, 1 Aug 2020 21:46:43 +0200 Subject: xcode: add 'macosx-arm64' profile to the list of auto-created profiles There is no easy way to get xcode version from the c++ code, so add arm64 macos for all xcodes Change-Id: I4a8f6bff8ef5e067689d03a85917cdf0cb601ffe Reviewed-by: Christian Kandeler --- src/app/qbs-setup-toolchains/xcodeprobe.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/qbs-setup-toolchains/xcodeprobe.cpp b/src/app/qbs-setup-toolchains/xcodeprobe.cpp index 67dafa91c..6c3d8a1b3 100644 --- a/src/app/qbs-setup-toolchains/xcodeprobe.cpp +++ b/src/app/qbs-setup-toolchains/xcodeprobe.cpp @@ -95,6 +95,8 @@ static QStringList archList(const QString &applePlatformName) archs << QStringLiteral("x86"); if (applePlatformName != QStringLiteral("watchsimulator")) archs << QStringLiteral("x86_64"); + if (applePlatformName == QStringLiteral("macosx")) + archs << QStringLiteral("arm64"); } else if (applePlatformName == QStringLiteral("iphoneos") || applePlatformName == QStringLiteral("appletvos")) { if (applePlatformName != QStringLiteral("appletvos")) -- cgit v1.2.1