From a60af46cf561fe3d4775faa85c531ece38d8a360 Mon Sep 17 00:00:00 2001 From: Alexander Kauer Date: Fri, 29 Dec 2023 18:24:26 +0100 Subject: [PATCH] Added Xcode 15 force in fastlane --- .github/workflows/publish.yml | 3 +++ .github/workflows/test.yml | 3 +++ fastlane/Fastfile | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 47d4158..a43b943 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -42,6 +42,9 @@ jobs: - name: Run XcodeGen run: xcodegen + - name: Install xcodes + run: brew install xcodes + - name: Run tests with fastlane run: bundle exec fastlane test diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b5602de..8cb9c0f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,6 +26,9 @@ jobs: username: cirunner password: ${{ secrets.GITHUB_TOKEN }} + - name: Install xcodes + run: brew install xcodes + - name: Install XcodeGen run: brew install xcodegen diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 2881ec8..4a4ecaf 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -16,6 +16,10 @@ default_platform(:ios) platform :ios do + before_all do + xcodes(version: "15.1", select_for_current_build_only: true) + end + desc "Run all iOS unit and ui tests." lane :test do run_tests(scheme: "WaiterRobotLava")