Skip to content

Commit 2f8874c

Browse files
[CI] Update Xcode version (#678)
1 parent 316a8c8 commit 2f8874c

File tree

179 files changed

+25
-11
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

179 files changed

+25
-11
lines changed

.github/workflows/cron-checks.yml

+12
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ jobs:
4141
strategy:
4242
matrix:
4343
include:
44+
- ios: 18.1
45+
xcode: 16.1
46+
os: macos-15
47+
device: "iPhone 16 Pro"
48+
setup_runtime: false
4449
- ios: 17.4
4550
xcode: 15.4
4651
os: macos-14
@@ -117,8 +122,15 @@ jobs:
117122
strategy:
118123
matrix:
119124
include:
125+
- xcode: 16.1
126+
os: macos-15
120127
- xcode: 15.4
121128
os: macos-14
129+
- ios: 18.1
130+
xcode: 16.1
131+
os: macos-15
132+
device: "iPhone 16 Pro"
133+
setup_runtime: false
122134
- xcode: 15.0.1
123135
os: macos-14
124136
fail-fast: false

.github/workflows/release-start.yml

+1
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ jobs:
3232
GITHUB_TOKEN: ${{ secrets.CI_BOT_GITHUB_TOKEN }}
3333
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
3434
APPSTORE_API_KEY: ${{ secrets.APPSTORE_API_KEY }}
35+
XCODE_VERSION: "15.0.1"

.github/workflows/smoke-checks.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ concurrency:
1919

2020
env:
2121
HOMEBREW_NO_INSTALL_CLEANUP: 1 # Disable cleanup for homebrew, we don't need it on CI
22-
IOS_SIMULATOR_DEVICE: "iPhone 15 Pro (17.4)"
22+
IOS_SIMULATOR_DEVICE: "iPhone 16 Pro (18.1)"
2323
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2424
GITHUB_PR_NUM: ${{ github.event.pull_request.number }}
2525

@@ -93,7 +93,7 @@ jobs:
9393

9494
test-ui-debug:
9595
name: Test SwiftUI (Debug)
96-
runs-on: macos-14
96+
runs-on: macos-15
9797
needs: build-test-app-and-frameworks
9898
steps:
9999
- uses: actions/[email protected]
@@ -107,7 +107,7 @@ jobs:
107107
- uses: ./.github/actions/python-cache
108108
- name: Run UI Tests (Debug)
109109
run: bundle exec fastlane test_ui device:"${{ env.IOS_SIMULATOR_DEVICE }}" skip_build:true record:${{ github.event.inputs.snapshots }}
110-
timeout-minutes: 60
110+
timeout-minutes: 120
111111
env:
112112
GITHUB_TOKEN: ${{ secrets.CI_BOT_GITHUB_TOKEN }} # to open a PR
113113
- name: Run Sonar analysis
@@ -164,7 +164,7 @@ jobs:
164164

165165
test-e2e-debug:
166166
name: Test E2E UI (Debug)
167-
runs-on: macos-14
167+
runs-on: macos-15
168168
if: ${{ github.event_name != 'push' && github.event.inputs.snapshots != 'true' }}
169169
needs:
170170
- allure_testops_launch
@@ -191,8 +191,6 @@ jobs:
191191
run: bundle exec fastlane test_e2e_mock device:"${{ env.IOS_SIMULATOR_DEVICE }}" batch:'${{ matrix.batch }}' test_without_building:true
192192
timeout-minutes: 100
193193
env:
194-
XCODE_VERSION: "15.2" # the most stable pair of Xcode
195-
IOS_SIMULATOR_DEVICE: "iPhone 15 Pro (17.2)" # and iOS
196194
MATRIX_SIZE: ${{ strategy.job-total }}
197195
- name: Allure TestOps Upload
198196
if: env.LAUNCH_ID != '' && (success() || failure())

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ buildcache
9191
App Thinning Size Report.txt
9292
app-thinning.plist
9393
*.dmg
94+
yeetd-normal.pkg
9495

9596
# VSCode
9697
.vscode

Gemfile.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ GEM
200200
fastlane
201201
pry
202202
fastlane-plugin-sonarcloud_metric_kit (0.2.1)
203-
fastlane-plugin-stream_actions (0.3.76)
203+
fastlane-plugin-stream_actions (0.3.77)
204204
xctest_list (= 1.2.1)
205205
fastlane-plugin-versioning (0.6.0)
206206
ffi (1.17.0)
@@ -429,7 +429,7 @@ DEPENDENCIES
429429
fastlane-plugin-create_xcframework
430430
fastlane-plugin-lizard
431431
fastlane-plugin-sonarcloud_metric_kit
432-
fastlane-plugin-stream_actions (= 0.3.76)
432+
fastlane-plugin-stream_actions (= 0.3.77)
433433
fastlane-plugin-versioning
434434
jazzy
435435
json

StreamChatSwiftUI.xcodeproj/project.pbxproj

+3
Original file line numberDiff line numberDiff line change
@@ -3192,6 +3192,7 @@
31923192
SKIP_INSTALL = YES;
31933193
SUPPORTS_MACCATALYST = NO;
31943194
SWIFT_EMIT_LOC_STRINGS = YES;
3195+
SWIFT_ENABLE_OPAQUE_TYPE_ERASURE = NO;
31953196
SWIFT_VERSION = 5.0;
31963197
TARGETED_DEVICE_FAMILY = "1,2";
31973198
};
@@ -3569,6 +3570,7 @@
35693570
SKIP_INSTALL = YES;
35703571
SUPPORTS_MACCATALYST = NO;
35713572
SWIFT_EMIT_LOC_STRINGS = YES;
3573+
SWIFT_ENABLE_OPAQUE_TYPE_ERASURE = NO;
35723574
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
35733575
SWIFT_VERSION = 5.0;
35743576
TARGETED_DEVICE_FAMILY = "1,2";
@@ -3603,6 +3605,7 @@
36033605
SKIP_INSTALL = YES;
36043606
SUPPORTS_MACCATALYST = NO;
36053607
SWIFT_EMIT_LOC_STRINGS = YES;
3608+
SWIFT_ENABLE_OPAQUE_TYPE_ERASURE = NO;
36063609
SWIFT_VERSION = 5.0;
36073610
TARGETED_DEVICE_FAMILY = "1,2";
36083611
};

fastlane/Fastfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ require 'xcodeproj'
77
import 'Sonarfile'
88
import 'Allurefile'
99

10-
xcode_version = ENV['XCODE_VERSION'] || '15.4'
10+
xcode_version = ENV['XCODE_VERSION'] || '16.1'
1111
xcode_project = 'StreamChatSwiftUI.xcodeproj'
1212
sdk_names = ['StreamChatSwiftUI']
1313
github_repo = ENV['GITHUB_REPOSITORY'] || 'GetStream/stream-chat-swiftui'
@@ -116,7 +116,6 @@ lane :publish_release do |options|
116116
UI.user_error!('Release version cannot be empty') if release_version.to_s.empty?
117117
ensure_git_branch(branch: 'main')
118118

119-
xcversion(version: '15.0.1')
120119
clean_products
121120
build_xcframeworks
122121
compress_frameworks

fastlane/Pluginfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
gem 'fastlane-plugin-versioning'
66
gem 'fastlane-plugin-sonarcloud_metric_kit'
77
gem 'fastlane-plugin-create_xcframework'
8-
gem 'fastlane-plugin-stream_actions', '0.3.76'
8+
gem 'fastlane-plugin-stream_actions', '0.3.77'

0 commit comments

Comments
 (0)