|
78 | 78 | with: |
79 | 79 | xcode-version: latest-stable |
80 | 80 | - name: Build |
81 | | - run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "generic/platform=iOS Simulator,name=Any iOS Device" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
| 81 | + run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "generic/platform=iOS,name=Any iOS Device" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
| 82 | + - name: Prepare Simulator |
| 83 | + run: xcodebuild -downloadPlatform iOS |
82 | 84 | - name: Prepare Destination Device Name |
83 | 85 | id: destnameprep |
84 | 86 | # As of GitHub's updates to the macOS-15 runner summer 2025, randomly Xcode may not list any simulators. |
@@ -114,7 +116,9 @@ jobs: |
114 | 116 | with: |
115 | 117 | xcode-version: latest-stable |
116 | 118 | - name: Build |
117 | | - run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "generic/platform=tvOS Simulator,name=Any tvOS Simulator Device" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
| 119 | + run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "generic/platform=tvOS,name=Any tvOS Device" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
| 120 | + - name: Prepare Simulator |
| 121 | + run: xcodebuild -downloadPlatform tvOS |
118 | 122 | - name: Prepare Destination Device Name |
119 | 123 | id: destnameprep |
120 | 124 | # As of GitHub's updates to the macOS-15 runner summer 2025, randomly Xcode may not list any simulators. |
@@ -150,7 +154,9 @@ jobs: |
150 | 154 | with: |
151 | 155 | xcode-version: latest-stable |
152 | 156 | - name: Build |
153 | | - run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "generic/platform=watchOS Simulator,name=Any watchOS Simulator Device" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
| 157 | + run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "generic/platform=watchOS,name=Any watchOS Device" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
| 158 | + - name: Prepare Simulator |
| 159 | + run: xcodebuild -downloadPlatform watchOS |
154 | 160 | - name: Prepare Destination Device Name |
155 | 161 | id: destnameprep |
156 | 162 | # As of GitHub's updates to the macOS-15 runner summer 2025, randomly Xcode may not list any simulators. |
@@ -191,18 +197,18 @@ jobs: |
191 | 197 | - name: Movie Timecode - Build (macOS) |
192 | 198 | run: xcodebuild build -project "Examples/Movie Timecode/Movie Timecode.xcodeproj" -scheme "Movie Timecode" -destination "generic/platform=macOS,name=Any Mac" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
193 | 199 | - name: Movie Timecode - Build (iOS) |
194 | | - run: xcodebuild build -project "Examples/Movie Timecode/Movie Timecode.xcodeproj" -scheme "Movie Timecode" -destination "generic/platform=iOS Simulator,name=Any iOS Simulator Device" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
| 200 | + run: xcodebuild build -project "Examples/Movie Timecode/Movie Timecode.xcodeproj" -scheme "Movie Timecode" -destination "generic/platform=iOS,name=Any iOS Device" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
195 | 201 |
|
196 | 202 | - name: Timecode UI - Resolve Package Dependencies # needed because sometimes xcodebuild fails otherwise |
197 | 203 | run: xcodebuild -project "Examples/Timecode UI/Timecode UI.xcodeproj" -resolvePackageDependencies | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
198 | 204 | - name: Timecode UI - Build (macOS) |
199 | 205 | run: xcodebuild build -project "Examples/Timecode UI/Timecode UI.xcodeproj" -scheme "Timecode UI" -destination "generic/platform=macOS,name=Any Mac" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
200 | 206 | - name: Timecode UI - Build (iOS) |
201 | | - run: xcodebuild build -project "Examples/Timecode UI/Timecode UI.xcodeproj" -scheme "Timecode UI" -destination "generic/platform=iOS Simulator,name=Any iOS Simulator Device" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
| 207 | + run: xcodebuild build -project "Examples/Timecode UI/Timecode UI.xcodeproj" -scheme "Timecode UI" -destination "generic/platform=iOS,name=Any iOS Device" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
202 | 208 |
|
203 | 209 | - name: Timecode Math - Resolve Package Dependencies # needed because sometimes xcodebuild fails otherwise |
204 | 210 | run: xcodebuild -project "Examples/Timecode Math/Timecode Math.xcodeproj" -resolvePackageDependencies | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
205 | 211 | - name: Timecode Math - Build (macOS) |
206 | 212 | run: xcodebuild build -project "Examples/Timecode Math/Timecode Math.xcodeproj" -scheme "Timecode Math" -destination "generic/platform=macOS,name=Any Mac" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
207 | 213 | - name: Timecode Math - Build (iOS) |
208 | | - run: xcodebuild build -project "Examples/Timecode Math/Timecode Math.xcodeproj" -scheme "Timecode Math" -destination "generic/platform=iOS Simulator,name=Any iOS Simulator Device" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
| 214 | + run: xcodebuild build -project "Examples/Timecode Math/Timecode Math.xcodeproj" -scheme "Timecode Math" -destination "generic/platform=iOS,name=Any iOS Device" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
0 commit comments