【发布时间】:2019-02-02 13:37:45
【问题描述】:
我正在尝试创建一个使用 Firebase 和 Geolocator 插件的颤振应用程序。
- 我将用于 authenticate 的 Firebase 插件,使用 RTDB 和 FCM。
- Geolocator 显然是一个非常可靠的位置感知插件。
在 Android 中,这一切都很好 - 一切都很好!
然而,在 iOS 中,我无法构建应用程序,错误:
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.
据我所知,在 Podfile 中使用 Firebase 插件 requires you NOT to use_frameworks!。显然,由于 Geolocator 在 iOS 部分使用 Swift 代码,在 Podfile 中 it requires you TO use_frameworks!。
我知道我可以使用另一个 GPS 插件,例如 Location,但是由于它适用于任何 Swift 代码插件,我的问题是:
使用 Flutter,是否可以将 Firebase 与任何 Swift 插件一起使用?
【问题讨论】:
标签: ios swift firebase flutter