From c5d7c2aca547b82d64671d64e147657b45e495a7 Mon Sep 17 00:00:00 2001 From: Alexey Alter-Pesotskiy Date: Tue, 3 Dec 2024 15:17:39 +0000 Subject: [PATCH] [CI] Bump Xcode version --- .github/workflows/cron-checks.yml | 10 ++++++++++ .github/workflows/smoke-checks.yml | 10 +++++----- fastlane/Fastfile | 3 +-- 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cron-checks.yml b/.github/workflows/cron-checks.yml index 3fd9ceb10..d1d1562b0 100644 --- a/.github/workflows/cron-checks.yml +++ b/.github/workflows/cron-checks.yml @@ -41,6 +41,11 @@ jobs: strategy: matrix: include: + - ios: 18.1 + xcode: 16.1 + os: macos-15 + device: "iPhone 16 Pro" + setup_runtime: false - ios: 17.2 xcode: 15.3 os: macos-14 @@ -130,6 +135,11 @@ jobs: strategy: matrix: include: + - ios: 18.1 + xcode: 16.1 + os: macos-15 + device: "iPhone 16 Pro" + setup_runtime: false - ios: 17.4 xcode: 15.4 os: macos-14 diff --git a/.github/workflows/smoke-checks.yml b/.github/workflows/smoke-checks.yml index c9014f8ac..8a1d5042c 100644 --- a/.github/workflows/smoke-checks.yml +++ b/.github/workflows/smoke-checks.yml @@ -27,14 +27,14 @@ concurrency: env: HOMEBREW_NO_INSTALL_CLEANUP: 1 # Disable cleanup for homebrew, we don't need it on CI - IOS_SIMULATOR_DEVICE: "iPhone 15 Pro (17.4)" + IOS_SIMULATOR_DEVICE: "iPhone 16 Pro (18.1)" GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_PR_NUM: ${{ github.event.pull_request.number }} jobs: test-llc-debug: name: Test LLC (Debug) - runs-on: macos-14 + runs-on: macos-15 if: ${{ github.event.inputs.swiftui_snapshots != 'true' && github.event.inputs.uikit_snapshots != 'true' }} env: STREAM_VIDEO_SECRET: ${{ secrets.STREAM_VIDEO_SECRET }} @@ -88,7 +88,7 @@ jobs: test-swiftui-debug: name: Test SwiftUI (Debug) - runs-on: macos-14 + runs-on: macos-15 if: ${{ github.event_name != 'push' && github.event.inputs.swiftui_snapshots != 'false' }} env: GITHUB_TOKEN: ${{ secrets.CI_BOT_GITHUB_TOKEN }} # to open a PR @@ -119,7 +119,7 @@ jobs: test-uikit-debug: name: Test UIKit (Debug) - runs-on: macos-14 + runs-on: macos-15 if: ${{ github.event_name != 'push' && github.event.inputs.uikit_snapshots != 'false' }} env: GITHUB_TOKEN: ${{ secrets.CI_BOT_GITHUB_TOKEN }} # to open a PR @@ -263,7 +263,7 @@ jobs: test-e2e-debug: name: Test E2E UI (Debug) - runs-on: macos-14 + runs-on: macos-15 if: ${{ github.event_name != 'push' && github.event.inputs.swiftui_snapshots != 'true' && github.event.inputs.uikit_snapshots != 'true' }} needs: - allure_testops_launch diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 5b14922a4..9238cc832 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -6,7 +6,7 @@ require 'net/http' import 'Sonarfile' import 'Allurefile' -xcode_version = ENV['XCODE_VERSION'] || '15.3' +xcode_version = ENV['XCODE_VERSION'] || '16.1' xcode_project = 'StreamVideo.xcodeproj' sdk_names = ['StreamVideo', 'StreamVideoSwiftUI', 'StreamVideoUIKit'] podspec_names = ['StreamVideo', 'StreamVideo-XCFramework', 'StreamVideoSwiftUI', 'StreamVideoSwiftUI-XCFramework', 'StreamVideoUIKit', 'StreamVideoUIKit-XCFramework'] @@ -92,7 +92,6 @@ lane :publish_release do |options| UI.user_error!('Release version cannot be empty') if release_version.to_s.empty? ensure_git_branch(branch: 'main') - xcversion(version: '15.0.1') clean_products build_xcframeworks compress_frameworks