From d11b5c8398dbd174a38d77060f2e0a967c2ba1cc Mon Sep 17 00:00:00 2001 From: luckyrat Date: Wed, 15 Nov 2023 12:20:49 +0000 Subject: [PATCH] Try a 3rd way to build using Xcode 15 --- .github/workflows/flutter_build.yml | 5 +++++ .github/workflows/flutter_release_ios.yml | 5 +++++ ios/fastlane/Fastfile | 4 ---- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/flutter_build.yml b/.github/workflows/flutter_build.yml index 8def98b..a57c0bb 100644 --- a/.github/workflows/flutter_build.yml +++ b/.github/workflows/flutter_build.yml @@ -107,6 +107,11 @@ jobs: - name: Run tests run: flutter test + + - name: Choose xcode version + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: '15.0' - name: Build iOS App run: flutter build ios --config-only --release --no-codesign --dart-define KEEVAULT_STAGE=prod --dart-define KEEVAULT_NAME_SUFFIX= --dart-define KEEVAULT_ID_SUFFIX= --dart-define IAP_APPLE_APP_STORE=yes diff --git a/.github/workflows/flutter_release_ios.yml b/.github/workflows/flutter_release_ios.yml index 35867d0..91f67c1 100644 --- a/.github/workflows/flutter_release_ios.yml +++ b/.github/workflows/flutter_release_ios.yml @@ -44,6 +44,11 @@ jobs: - name: Run tests run: flutter test + + - name: Choose xcode version + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: '15.0' - name: Build iOS App run: flutter build ios --config-only --release --no-codesign --dart-define KEEVAULT_STAGE=beta --dart-define KEEVAULT_NAME_SUFFIX='(b)' --dart-define KEEVAULT_ID_SUFFIX=.beta diff --git a/ios/fastlane/Fastfile b/ios/fastlane/Fastfile index 5c2f6ba..94eb181 100644 --- a/ios/fastlane/Fastfile +++ b/ios/fastlane/Fastfile @@ -39,10 +39,6 @@ def ensure_temp_keychain(name, password) create_temp_keychain(name, password) end -before_all do - xcversion(version: "15.0") -end - platform :ios do desc "Get IAP development certificates"