Skip to content

Commit 5c7b3bc

Browse files
committed
Updated GitHub CI
1 parent 1a80e1f commit 5c7b3bc

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ jobs:
7777
- uses: maxim-lobanov/setup-xcode@v1
7878
with:
7979
xcode-version: latest-stable
80+
- name: Prepare Platform
81+
run: xcodebuild -downloadPlatform iOS
8082
- name: Build
8183
run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "generic/platform=iOS" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]}
82-
- name: Prepare Simulator
83-
run: xcodebuild -downloadPlatform iOS
8484
- name: Prepare Destination Device Name
8585
id: destnameprep
8686
# As of GitHub's updates to the macOS-15 runner summer 2025, randomly Xcode may not list any simulators.
@@ -115,10 +115,10 @@ jobs:
115115
- uses: maxim-lobanov/setup-xcode@v1
116116
with:
117117
xcode-version: latest-stable
118+
- name: Prepare Platform
119+
run: xcodebuild -downloadPlatform tvOS
118120
- name: Build
119121
run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "generic/platform=tvOS" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]}
120-
- name: Prepare Simulator
121-
run: xcodebuild -downloadPlatform tvOS
122122
- name: Prepare Destination Device Name
123123
id: destnameprep
124124
# As of GitHub's updates to the macOS-15 runner summer 2025, randomly Xcode may not list any simulators.
@@ -153,10 +153,10 @@ jobs:
153153
- uses: maxim-lobanov/setup-xcode@v1
154154
with:
155155
xcode-version: latest-stable
156+
- name: Prepare Platform
157+
run: xcodebuild -downloadPlatform watchOS
156158
- name: Build
157159
run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "generic/platform=watchOS" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]}
158-
- name: Prepare Simulator
159-
run: xcodebuild -downloadPlatform watchOS
160160
- name: Prepare Destination Device Name
161161
id: destnameprep
162162
# As of GitHub's updates to the macOS-15 runner summer 2025, randomly Xcode may not list any simulators.
@@ -191,7 +191,9 @@ jobs:
191191
- uses: maxim-lobanov/setup-xcode@v1
192192
with:
193193
xcode-version: latest-stable
194-
194+
- name: Prepare Platform(s)
195+
run: xcodebuild -downloadPlatform iOS
196+
195197
- name: Movie Timecode - Resolve Package Dependencies # needed because sometimes xcodebuild fails otherwise
196198
run: xcodebuild -project "Examples/Movie Timecode/Movie Timecode.xcodeproj" -resolvePackageDependencies | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]}
197199
- name: Movie Timecode - Build (macOS)

0 commit comments

Comments
 (0)