Skip to content

Commit

Permalink
[wifi_info_flutter] Ignore Reachability pointer to int cast warning (f…
Browse files Browse the repository at this point in the history
…lutter#3947)

Suppress Reachability dependency warning in iOS example app.
  • Loading branch information
stuartmorgan authored and fotiDim committed Sep 13, 2021
1 parent e2311e4 commit 6063c83
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ end

post_install do |installer|
installer.pods_project.targets.each do |target|
# Work around https://github.com/flutter/flutter/issues/82964.
if target.name == 'Reachability'
target.build_configurations.each do |config|
config.build_settings['WARNING_CFLAGS'] = '-Wno-pointer-to-int-cast'
end
end
flutter_additional_ios_build_settings(target)
end
end

0 comments on commit 6063c83

Please sign in to comment.