Skip to content

Commit 06fad4c

Browse files
authored
Update swift.yml
1 parent 84af21d commit 06fad4c

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/swift.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v4
1818

19+
- name: Select Xcode 16
20+
run: |
21+
sudo xcode-select -s /Applications/Xcode_16.0.app/Contents/Developer
22+
xcodebuild -version
23+
24+
- name: Clean Project
25+
run: |
26+
xcodebuild clean \
27+
-scheme "SwiftUI-WorkoutApp"
28+
1929
- name: Build and Test
2030
run: |
2131
xcodebuild build \
@@ -28,4 +38,5 @@ jobs:
2838
-scheme "SwiftUI-WorkoutApp" \
2939
-testPlan "SwiftUI-WorkoutApp" \
3040
-destination "platform=iOS Simulator,OS=latest" \
31-
CODE_SIGNING_ALLOWED=NO
41+
CODE_SIGNING_ALLOWED=NO \
42+
ARCHS=arm64 ONLY_ACTIVE_ARCH=NO

0 commit comments

Comments
 (0)