I\'m trying to create a flutter app which use Firebase and the Geolocator plugin.
I am not an expert in this area but it looks like specifying the Swift version in your Podfile
might solve the above mentioned error. You can do so by adding the following line:
config.build_settings['SWIFT_VERSION'] = '4.1'
It should be part of the post_install
block, like this:
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'NO'
config.build_settings['SWIFT_VERSION'] = '4.1'
end
end
end