update
This commit is contained in:
parent
823e009121
commit
2c8e9a3fb4
12
ios/Podfile
12
ios/Podfile
@ -40,8 +40,18 @@ post_install do |installer|
|
||||
installer.pods_project.targets.each do |target|
|
||||
flutter_additional_ios_build_settings(target)
|
||||
target.build_configurations.each do |config|
|
||||
config.build_settings['DEFINES_MODULE'] = 'YES'
|
||||
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0'
|
||||
config.build_settings['CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES'] = 'YES'
|
||||
|
||||
# Fix "non-modular header inside framework module" for Firebase pods
|
||||
if target.name == 'Firebase' || target.name.start_with?('firebase_') ||
|
||||
target.name == 'FirebaseCore' || target.name == 'FirebaseCrashlytics' ||
|
||||
target.name == 'FirebaseMessaging' || target.name == 'GoogleUtilities' ||
|
||||
target.name == 'nanopb'
|
||||
config.build_settings['DEFINES_MODULE'] = 'NO'
|
||||
else
|
||||
config.build_settings['DEFINES_MODULE'] = 'YES'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user