Skip to content

Commit d1c9ad3

Browse files
Merge pull request #85 from apivideo/bugfix/swift5_cocoapods_deployment
fix(swift5): workaround: use xcode 14.2 to deploy on cocoapods
2 parents ca2a196 + 5d46074 commit d1c9ad3

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ jobs:
5050
cocoapods:
5151
name: Verify cocopods podspec
5252
needs: [ build-xcodebuild ]
53-
runs-on: macos-latest
53+
runs-on: macos-13
5454

5555
steps:
5656
- name: Checkout
5757
uses: actions/checkout@v3
5858
- name: xcode version
5959
uses: maxim-lobanov/setup-xcode@v1
6060
with:
61-
xcode-version: latest-stable
61+
xcode-version: '14.2.0'
6262
- name: Verify cocoapods
6363
run: pod lib lint --allow-warnings

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,14 @@ on:
44
types: [published]
55
jobs:
66
deploy:
7-
runs-on: macos-latest
7+
runs-on: macos-13
88
steps:
99
- uses: actions/checkout@v4
10-
10+
- name: xcode version
11+
uses: maxim-lobanov/setup-xcode@v1
12+
with:
13+
xcode-version: '14.2.0'
14+
1115
- name: Install Cocoapods
1216
run: gem install cocoapods
1317

0 commit comments

Comments
 (0)