Skip to content

Commit

Permalink
fix: Update podfile
Browse files Browse the repository at this point in the history
  • Loading branch information
bibash28 committed Jul 24, 2023
1 parent fb180de commit a4d8520
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,12 @@ post_install do |installer|
config.build_settings['SWIFT_VERSION'] = '5.0'
config.build_settings['ENABLE_BITCODE'] = 'NO'
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = $iOSVersion
end
# Google's ML Kit Barcode Scanning setup
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
if target.name == "Pods-Runner"
puts "Updating #{target.name} OTHER_LDFLAGS"
target.build_configurations.each do |config|
Expand Down

0 comments on commit a4d8520

Please sign in to comment.