I’m trying to create a flutter app which use Firebase and the Geolocator plugin.
- The Firebase plugins I’ll use to authenticate, use the RTDB and FCM.
- The Geolocator is apparently a very reliable plugin for location awareness.
In Android, that’s all fine - everything works great!
In iOS however, I cannot build the app, the error:
The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. This setting can be set in the build settings editor.
As I learned, using the Firebase plugins requires you NOT to use_frameworks! in the Podfile. And apparently, as Geolocator uses Swift code in the iOS part, it requires you TO use_frameworks! in the Podfile.
I know I could use another GPS plugin, such as Location, however as it applies for any Swift code plugin, my question is:
With Flutter, is it possible to use Firebase together with any Swift plugin?