some more adjustments
Some checks failed
Build and release debug APK / Build APK (pull_request) Has been cancelled

This commit is contained in:
Remy Moll 2024-12-21 16:52:39 +01:00
parent a1864f5cce
commit 85c74b1a16
3 changed files with 7 additions and 9 deletions

View File

@ -5,15 +5,18 @@ on:
jobs:
build:
runs-on: macos-15
runs-on: macos-latest
env:
# $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
BUNDLE_GEMFILE: ios/Gemfile
steps:
- uses: actions/checkout@v4
- name: Set up ruby env
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.1
bundler-cache: true
ruby-version: 3.3
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Install Flutter
uses: subosito/flutter-action@v2
@ -39,10 +42,6 @@ jobs:
env:
MATCH_REPO_SSH_KEY: ${{ secrets.IOS_MATCH_REPO_SSH_KEY_BASE64 }}
- name: Install fastlane
run: bundle install
working-directory: ios
- name: Install dependencies and clean up
run: |
flutter pub get

View File

@ -8,7 +8,6 @@ import GoogleMaps
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
// load the key from env
GMSServices.provideAPIKey("IOS_GOOGLE_MAPS_API_KEY")
GeneratedPluginRegistrant.register(with: self)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)

View File

@ -70,7 +70,7 @@ platform :ios do
"-i",
"",
"s/IOS_GOOGLE_MAPS_API_KEY/#{ENV["IOS_GOOGLE_MAPS_API_KEY"]}/g",
"ios/Runner/AppDelegate.swift"
"../Runner/AppDelegate.swift"
)