I am building an app by Flutter. I got this error message when doing "pod install
" or "pod install --repo-update
" or "pod update
" and the pod install failed and stopped.
The error message:
[!] The following Swift pods cannot yet be integrated as staticlibraries:
The Swift pod
FirebaseCoreInternal-library
depends uponGoogleUtilities-library
, which does not define modules. To opt intothose targets generating module maps (which is necessary to importthem from Swift when building as static libraries), you may setuse_modular_headers!
globally in your Podfile, or specify:modular_headers => true
for particular dependencies.
My Podfile:
platform :ios, '11.0'...target 'Runner' do use_frameworks! use_modular_headers! flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))end...