Skip to content

Commit eb531f7

Browse files
committed
IOS-646 Update CI for Xcode 15
1 parent 3587bd2 commit eb531f7

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

.github/workflows/archive-and-upload.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Check Carthage version
2121
run: command -v carthage && carthage version
2222
- name: Checkout main repo
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424
with:
2525
token: ${{ secrets.IOS_DEV_CI_PAT }}
2626
- name: Add Private Repo Auth
@@ -49,13 +49,13 @@ jobs:
4949
- name: Check available Xcodes
5050
run: ls -la /Applications | grep Xcode
5151
- name: Force Xcode we use for development
52-
run: sudo xcode-select -switch /Applications/Xcode_14.3.app
52+
run: sudo xcode-select -switch /Applications/Xcode_15.0.1.app
5353
- name: Install Firebase Tools
5454
run: npm install -g firebase-tools
5555
- name: Check Firebase Tools version
5656
run: command -v firebase && firebase --version
5757
- name: Checkout main repo and submodules
58-
uses: actions/checkout@v3
58+
uses: actions/checkout@v4
5959
with:
6060
submodules: true
6161
token: ${{ secrets.IOS_DEV_CI_PAT }}
@@ -72,7 +72,7 @@ jobs:
7272
GITHUB_REPO_OWNER: ${{ github.repository_owner }}
7373
- name: Checkout Adobe RMSDK
7474
if: needs.version-check.outputs.simplye_changed == '1'
75-
uses: actions/checkout@v3
75+
uses: actions/checkout@v4
7676
with:
7777
repository: NYPL-Simplified/DRM-iOS-AdeptConnector
7878
token: ${{ secrets.IOS_DEV_CI_PAT }}

.github/workflows/non-drm-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
- name: Check available Xcodes
1111
run: ls -la /Applications | grep Xcode
1212
- name: Force Xcode we use for development
13-
run: sudo xcode-select -switch /Applications/Xcode_14.3.app
13+
run: sudo xcode-select -switch /Applications/Xcode_15.0.1.app
1414
- name: Checkout main repo
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616
- name: Set up repo for nonDRM build
1717
run: exec ./scripts/setup-repo-nodrm.sh
1818
env:

.github/workflows/unit-testing.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ jobs:
1313
- name: Check available Xcodes
1414
run: ls -la /Applications | grep Xcode
1515
- name: Force Xcode we use for development
16-
run: sudo xcode-select -switch /Applications/Xcode_14.3.app
16+
run: sudo xcode-select -switch /Applications/Xcode_15.0.1.app
1717
- name: Checkout main repo and submodules
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919
with:
2020
submodules: true
2121
token: ${{ secrets.IOS_DEV_CI_PAT }}
2222
- name: Checkout Adobe RMSDK
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424
with:
2525
repository: NYPL-Simplified/DRM-iOS-AdeptConnector
2626
token: ${{ secrets.IOS_DEV_CI_PAT }}

scripts/xcode-build-nodrm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ echo "Building SimplyE without DRM support..."
1717

1818
xcodebuild -project Simplified.xcodeproj \
1919
-scheme SimplyE-noDRM \
20-
-destination platform=iOS\ Simulator,OS=16.4,name=iPhone\ 14\ Pro\
20+
-destination platform=iOS\ Simulator,OS=17.2,name=iPhone\ 15\ Pro\
2121
clean build | \
2222
if command -v xcpretty &> /dev/null; then xcpretty; else cat; fi

scripts/xcode-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ echo "Running unit tests for $APP_NAME..."
2222
# packages with the version checked in in Package.resolved
2323
xcodebuild -project "$PROJECT_NAME" \
2424
-scheme "$SCHEME" \
25-
-destination platform=iOS\ Simulator,OS=16.4,name=iPhone\ 14 \
25+
-destination platform=iOS\ Simulator,OS=17.2,name=iPhone\ 15 \
2626
-disableAutomaticPackageResolution \
2727
clean test | \
2828
if command -v xcpretty &> /dev/null; then xcpretty; else cat; fi

0 commit comments

Comments
 (0)