Skip to content

Commit 6d17ce0

Browse files
authored
Merge pull request #1128 from kiwix/try-out-xcode16.1
Xcode 16.1 on CI/CD
2 parents 0fa3458 + 63923b2 commit 6d17ce0

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/actions/xcbuild/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ runs:
5353
-T /usr/bin/security \
5454
-T /usr/bin/productbuild || true
5555
56-
- name: Set Xcode version (15.4.0)
56+
- name: Set Xcode version (16.1.0)
5757
shell: bash
58-
# https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md#xcode
59-
run: sudo xcode-select -s /Applications/Xcode_15.4.0.app
58+
# https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md#xcode
59+
run: sudo xcode-select -s /Applications/Xcode_16.1.0.app
6060

6161
- name: Create Keychain
6262
shell: bash

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122
123123
- name: Set iOS extra xcode params
124124
if: matrix.platform == 'iOS' && contains(env.UPLOAD_TO, matrix.destination)
125-
run: echo "EXTRA_XCODEBUILD=-sdk iphoneos ${{ env.APPLE_AUTH_PARAMS }}" >> $GITHUB_ENV
125+
run: echo "EXTRA_XCODEBUILD=-sdk iphoneos18.1 ${{ env.APPLE_AUTH_PARAMS }}" >> $GITHUB_ENV
126126

127127
- name: Set macOS extra xcode params
128128
if: matrix.platform == 'macOS' && contains(env.UPLOAD_TO, matrix.destination)

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141

4242
- name: Set EXTRA_XCODEBUILD for iOS
4343
if: matrix.platform == 'iOS'
44-
run: echo "EXTRA_XCODEBUILD=-sdk iphoneos ${{ env.APPLE_AUTH_PARAMS }}" >> $GITHUB_ENV
44+
run: echo "EXTRA_XCODEBUILD=-sdk iphoneos18.1 ${{ env.APPLE_AUTH_PARAMS }}" >> $GITHUB_ENV
4545

4646
- name: Set EXTRA_XCODEBUILD for macOS
4747
if: matrix.platform == 'macOS'
@@ -64,7 +64,7 @@ jobs:
6464

6565
- name: Run Unit Tests on iOS
6666
if: matrix.platform == 'iOS'
67-
run: xcodebuild test -scheme Kiwix -destination 'platform=iOS Simulator,name=iPhone 15 Plus'
67+
run: xcodebuild test -scheme Kiwix -destination 'platform=iOS Simulator,name=iPhone 16 Pro'
6868

6969
- name: Run Unit Tests on macOS
7070
if: matrix.platform == 'macOS'

0 commit comments

Comments
 (0)