Skip to content

Commit

Permalink
update Podfile
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkbee1 committed Feb 3, 2025
1 parent e4c9c80 commit 22473dc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,14 @@ post_install do |installer|
config.build_settings["EXCLUDED_ARCHS[sdk=*]"] = "armv7"
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = $iOSVersion
end
target.build_configurations.each do |config|

installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
target.build_configurations.each do |config|
# Google's ML Kit Barcode Scanning setup
if Gem::Version.new($iOSVersion) > Gem::Version.new(config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'])
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = $iOSVersion
end
end
end
end
end

0 comments on commit 22473dc

Please sign in to comment.