Skip to content

Commit e004924

Browse files
committed
Use simulator 18.4 in CodeQL
The runner didn't support 18.2.
1 parent 6cf4731 commit e004924

1 file changed

Lines changed: 3 additions & 16 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -61,19 +61,6 @@ jobs:
6161
if: ${{ matrix.language == 'swift' }}
6262
run: sudo xcode-select -s /Applications/Xcode_16.2.app
6363

64-
# DEBUG
65-
- name: Print Xcode & SDKs
66-
run: |
67-
xcode-select -p
68-
xcodebuild -version
69-
xcodebuild -showsdks
70-
71-
- name: List available simulators & runtimes
72-
run: |
73-
xcrun simctl list devicetypes
74-
xcrun simctl list runtimes
75-
xcrun simctl list devices
76-
7764
# Initializes the CodeQL tools for scanning.
7865
- name: Initialize CodeQL
7966
uses: github/codeql-action/init@v3
@@ -91,12 +78,12 @@ jobs:
9178
# "We were unable to automatically build your code", modify the matrix above
9279
# to set the build mode to "manual" for that language. Then modify this step
9380
# to build your code.
94-
# ℹ️ Command-line programs to run using the OS shell.
95-
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
81+
# Command-line programs to run using the OS shell.
82+
# See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
9683
- if: matrix.build-mode == 'manual'
9784
shell: bash
9885
run: |
99-
xcodebuild -project SnapSafe.xcodeproj/ -scheme SnapSafe -configuration Debug -sdk iphonesimulator18.2 -destination 'platform=iOS Simulator,name=iPhone 16,OS=18.2' -derivedDataPath ./build CODE_SIGNING_ALLOWED=NO clean build
86+
xcodebuild -project SnapSafe.xcodeproj/ -scheme SnapSafe -configuration Debug -sdk iphonesimulator18.4 -destination 'platform=iOS Simulator,name=iPhone 16,OS=18.4' -derivedDataPath ./build CODE_SIGNING_ALLOWED=NO clean build
10087
10188
- name: Perform CodeQL Analysis
10289
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)