summaryrefslogtreecommitdiff
path: root/src/app/qbs-setup-toolchains/xcodeprobe.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/qbs-setup-toolchains/xcodeprobe.cpp')
-rw-r--r--src/app/qbs-setup-toolchains/xcodeprobe.cpp2
1 files changed, 2 insertions, 0 deletions
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"))