From f0ec96a584979b1039389df67ac2660677be3937 Mon Sep 17 00:00:00 2001 From: Benoit Blanchon Date: Fri, 13 Dec 2024 09:05:35 +0100 Subject: [PATCH] iOS: fix the `test` step for `catalyst` --- steps/08-test.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/steps/08-test.sh b/steps/08-test.sh index 54cd966..772f1c3 100755 --- a/steps/08-test.sh +++ b/steps/08-test.sh @@ -35,10 +35,19 @@ case "$OS" in case "$CPU" in arm64) ARCH="arm64" - SDK="iphoneos" ;; x64) ARCH="x86_64" + ;; + esac + case "$TARGET_ENVIRONMENT" in + catalyst) + SDK="macosx" + ;; + device) + SDK="iphoneos" + ;; + simulator) SDK="iphonesimulator" ;; esac