diff --git a/steps/08-test.sh b/steps/08-test.sh index 54cd966..98d59a1 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 + device) + SDK="iphoneos" + ;; + catalyst) + SDK="macosx" + ;; + simulator) SDK="iphonesimulator" ;; esac