From 84d015ce3fcad49581461f91ded792136bf865fa Mon Sep 17 00:00:00 2001 From: Kamil Owczarz Date: Fri, 30 Jun 2023 15:03:32 +0200 Subject: [PATCH] Force latest xcode version in GitHub Action --- .github/workflows/testBuild.yml | 3 +++ fastlane/Fastfile | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/testBuild.yml b/.github/workflows/testBuild.yml index 246e31178564..e4eaa1703f2c 100644 --- a/.github/workflows/testBuild.yml +++ b/.github/workflows/testBuild.yml @@ -138,6 +138,9 @@ jobs: - uses: Expensify/App/.github/actions/composite/setupNode@main + - name: Setup Xcode + run: sudo xcode-select -switch /Applications/Xcode_14.2.app + - uses: ruby/setup-ruby@eae47962baca661befdfd24e4d6c34ade04858f7 with: ruby-version: '2.7' diff --git a/fastlane/Fastfile b/fastlane/Fastfile index e183a0dd22d4..1f3d611ea934 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -112,7 +112,6 @@ end platform :ios do desc "Generate a local iOS production build" lane :build do - xcversion(version: "14.2") ENV["ENVFILE"]=".env.production" build_app( @@ -123,7 +122,6 @@ platform :ios do desc "Build app for testing" lane :build_internal do - xcversion(version: "14.2") require 'securerandom' ENV["ENVFILE"]=".env.adhoc" @@ -178,7 +176,6 @@ platform :ios do desc "Build and upload app to TestFlight" lane :beta do - xcversion(version: "14.2") require 'securerandom' ENV["ENVFILE"]=".env.production" @@ -271,7 +268,6 @@ platform :ios do version.create_app_store_version_release_request unless version.nil? end - xcversion(version: "14.2") deliver( api_key_path: "./ios/ios-fastlane-json-key.json",