Skip to content

Commit 0cd6a03

Browse files
committed
Fix missing simulator issue
1 parent cabea07 commit 0cd6a03

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.github/workflows/ios.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
include:
16-
- os: macos-14
17-
xcode-version: "16.0" # Swift 6.0
15+
os: [macos-14]
16+
xcode-version: [16.0] # Swift 6.0
17+
ios-version: [18.0]
1818
runs-on: ${{ matrix.os }}
1919
env:
2020
OPENGRAPH_WERROR: 1
@@ -33,7 +33,7 @@ jobs:
3333
xcodebuild build \
3434
-scheme OpenGraph-Package \
3535
-configuration Debug \
36-
-destination "platform=iOS" \
36+
-destination "platform=iOS Simulator,OS=${{ matrix.ios-version }}" \
3737
-derivedDataPath .build-debug \
3838
-skipMacroValidation \
3939
-skipPackagePluginValidation \
@@ -43,7 +43,7 @@ jobs:
4343
xcodebuild test \
4444
-scheme OpenGraph-Package \
4545
-configuration Debug \
46-
-destination "platform=iOS-Simulator" \
46+
-destination "platform=iOS Simulator,OS=${{ matrix.ios-version }}" \
4747
-enableCodeCoverage=YES \
4848
-derivedDataPath .build-test-debug \
4949
-skipPackagePluginValidation \

.github/workflows/macos.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
include:
16-
- os: macos-14
17-
xcode-version: "16.0" # Swift 6.0
15+
os: [macos-14]
16+
xcode-version: [16.0] # Swift 6.0
1817
runs-on: ${{ matrix.os }}
1918
env:
2019
OPENGRAPH_WERROR: 1

0 commit comments

Comments
 (0)