Some more pipeline-fixes #46
							
								
								
									
										13
									
								
								frontend/.github/workflows/build_app_ios.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										13
									
								
								frontend/.github/workflows/build_app_ios.yaml
									
									
									
									
										vendored
									
									
								
							| @@ -5,15 +5,18 @@ on: | |||||||
|  |  | ||||||
| jobs: | jobs: | ||||||
|   build: |   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: |     steps: | ||||||
|       - uses: actions/checkout@v4 |       - uses: actions/checkout@v4 | ||||||
|  |  | ||||||
|       - name: Set up ruby env |       - name: Set up ruby env | ||||||
|         uses: ruby/setup-ruby@v1 |         uses: ruby/setup-ruby@v1 | ||||||
|         with: |         with: | ||||||
|           ruby-version: 3.2.1 |           ruby-version: 3.3 | ||||||
|           bundler-cache: true |           bundler-cache: true # runs 'bundle install' and caches installed gems automatically | ||||||
|  |  | ||||||
|       - name: Install Flutter |       - name: Install Flutter | ||||||
|         uses: subosito/flutter-action@v2 |         uses: subosito/flutter-action@v2 | ||||||
| @@ -39,10 +42,6 @@ jobs: | |||||||
|         env: |         env: | ||||||
|           MATCH_REPO_SSH_KEY: ${{ secrets.IOS_MATCH_REPO_SSH_KEY_BASE64 }} |           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 |       - name: Install dependencies and clean up | ||||||
|         run: | |         run: | | ||||||
|           flutter pub get |           flutter pub get | ||||||
|   | |||||||
| @@ -8,7 +8,6 @@ import GoogleMaps | |||||||
|     _ application: UIApplication, |     _ application: UIApplication, | ||||||
|     didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? |     didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? | ||||||
|   ) -> Bool { |   ) -> Bool { | ||||||
|     // load the key from env |  | ||||||
|     GMSServices.provideAPIKey("IOS_GOOGLE_MAPS_API_KEY") |     GMSServices.provideAPIKey("IOS_GOOGLE_MAPS_API_KEY") | ||||||
|     GeneratedPluginRegistrant.register(with: self) |     GeneratedPluginRegistrant.register(with: self) | ||||||
|     return super.application(application, didFinishLaunchingWithOptions: launchOptions) |     return super.application(application, didFinishLaunchingWithOptions: launchOptions) | ||||||
|   | |||||||
| @@ -70,7 +70,7 @@ platform :ios do | |||||||
|       "-i", |       "-i", | ||||||
|       "", |       "", | ||||||
|       "s/IOS_GOOGLE_MAPS_API_KEY/#{ENV["IOS_GOOGLE_MAPS_API_KEY"]}/g", |       "s/IOS_GOOGLE_MAPS_API_KEY/#{ENV["IOS_GOOGLE_MAPS_API_KEY"]}/g", | ||||||
|       "ios/Runner/AppDelegate.swift" |       "../Runner/AppDelegate.swift" | ||||||
|  |  | ||||||
|     ) |     ) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user