FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
98 stars 17 forks source link

ios Local Run: Error: Error: The plugin "google_maps_flutter_ios" requires a higher minimum iOS deployment #2849

Closed nilelabs closed 2 weeks ago

nilelabs commented 2 weeks ago

Has your issue been reported?

Current Behavior

I can't get local run to work on my macbook anymore. I tried deploying to the app store but got a pod install issue then tried running it locally on my mac from the ff desktop app and I keep running into issues with pods and dependency for google_maps_flutter_ios

Error: The plugin "google_maps_flutter_ios" requires a higher minimum iOS deployment version than your application is targeting. To build, increase your application's deployment target to at least 14.0 as described at https://docs.flutter.dev/deployment/ios Error: Error running pod install

Expected Behavior

The app should run in local run like it was 2-3 days ago.

Steps to Reproduce

  1. create a project with the google maps widget
  2. try local run on a Macbook
  3. View device logs for errors

Reproducible from Blank

Bug Report Code (Required)

ITESlfLlvJdgrt9F0LryKu1AhQMkQzM6bZI7ku1EdwEhfJz3PIoEOs+lblBLYtfgem9EOFm0oHwG+cL0ieOWO/E7AwmZY4M6wpRXQQ6XRmqgb4iyPqmCVXB6HfFXJ0jHyqeC2hYmKvdhS1Vn7UOUDfCdG3qCf9qOYwx5e6fDbOY=

Context

I can't use local run on a mac if I have google maps in my project.

Visual documentation

Screenshot 2024-05-01 at 9 56 14 PM

Additional Info

No response

Environment

- FlutterFlow version: v4.1.45
- Platform: MacOS Desktop
- Browser name and version:
- Operating system and version affected: macOS Sonoma 14.4.1

General

Relative to the time the changes were made, data was lost within

When following my steps to reproduce, data loss happens

rzambroni commented 2 weeks ago

Hi @nilelabs, i'm being unable to replicate the issue you are describing. Either on a blank project or existing projects with google maps. Can you replicate this consistently? does it happen on a blank project?

If that's the case please share the bug-report-code of that blank project instead.

Thanks!

nilelabs commented 2 weeks ago

I figured out what was going on. I had a custom map widget built off of google_maps_flutter and I specified versions for each dependency. I think a recent update threw things off so I deleted the versions next each dependency and I can now run locally again.