Skip to content

Commit c6305ca

Browse files
committed
chore(ci): Build/test macOS for arm64 rather than x86_64
1 parent 5663aa0 commit c6305ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ ipad_flags=(
180180

181181
macos_flags=(
182182
-sdk 'macosx'
183-
-destination 'platform=OS X,arch=x86_64'
183+
-destination 'platform=OS X,arch=arm64'
184184
)
185185
tvos_flags=(
186186
-sdk "appletvsimulator"
@@ -195,7 +195,7 @@ visionos_flags=(
195195
)
196196
catalyst_flags=(
197197
ARCHS=x86_64 VALID_ARCHS=x86_64 SUPPORTS_MACCATALYST=YES -sdk macosx
198-
-destination platform="macOS,variant=Mac Catalyst,arch=x86_64" TARGETED_DEVICE_FAMILY=2
198+
-destination platform="macOS,variant=Mac Catalyst,arch=arm64" TARGETED_DEVICE_FAMILY=2
199199
CODE_SIGN_IDENTITY=- CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO
200200
)
201201

0 commit comments

Comments
 (0)