mirror of
https://github.com/block/buzz.git
synced 2026-11-04 00:12:02 +00:00
fix: align pod deployment targets with iOS 16 minimum
Signed-off-by: Tom Brow <tomb@block.xyz>
This commit is contained in:
@@ -38,6 +38,14 @@ end
|
||||
post_install do |installer|
|
||||
installer.pods_project.targets.each do |target|
|
||||
flutter_additional_ios_build_settings(target)
|
||||
# Xcode 27 rejects older pod deployment targets, even though Runner
|
||||
# already requires iOS 16. Preserve pods that require a newer version.
|
||||
target.build_configurations.each do |config|
|
||||
minimum = config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] || '0'
|
||||
if Gem::Version.new(minimum) < Gem::Version.new('16.0')
|
||||
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '16.0'
|
||||
end
|
||||
end
|
||||
end
|
||||
# Flutter creates plugin symlinks during installation, so load the upstream
|
||||
# helper here rather than requiring an existing Pods install at parse time.
|
||||
|
||||
Reference in New Issue
Block a user