Suppress mobile scanner ignored attributes warnings
This commit is contained in:
parent
576d740c12
commit
fc534df745
@ -38,5 +38,14 @@ end
|
||||
post_install do |installer|
|
||||
installer.pods_project.targets.each do |target|
|
||||
flutter_additional_macos_build_settings(target)
|
||||
next unless target.name == 'mobile_scanner'
|
||||
|
||||
target.build_configurations.each do |config|
|
||||
other_cflags = config.build_settings['OTHER_CFLAGS'] || '$(inherited)'
|
||||
unless other_cflags.include?('-Wno-ignored-attributes')
|
||||
config.build_settings['OTHER_CFLAGS'] =
|
||||
"#{other_cflags} -Wno-ignored-attributes"
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@ -54,6 +54,6 @@ SPEC CHECKSUMS:
|
||||
shared_preferences_foundation: 7036424c3d8ec98dfe75ff1667cb0cd531ec82bb
|
||||
super_native_extensions: c2795d6d9aedf4a79fae25cb6160b71b50549189
|
||||
|
||||
PODFILE CHECKSUM: 54d867c82ac51cbd61b565781b9fada492027009
|
||||
PODFILE CHECKSUM: e526b46d773958bf8937e1451d92e3165e690cd4
|
||||
|
||||
COCOAPODS: 1.16.2
|
||||
|
||||
Loading…
Reference in New Issue
Block a user