Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions Samples/ObjC/SignInSample/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,17 @@ target 'SampleForPod' do
pod 'GoogleSignIn', :path => '../../../', :testspecs => ['unit']
project 'SignInSampleForPod.xcodeproj'
end

post_install do |installer|
# Xcode 27 refuses to build a target whose deployment target is below iOS 15.0.
# Several transitive pods still declare lower floors in their own podspecs, so
# raise the generated Pods project targets to match this sample's own minimum.
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
ios = config.build_settings['IPHONEOS_DEPLOYMENT_TARGET']
if ios && Gem::Version.new(ios) < Gem::Version.new('15.0')
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '15.0'
end
end
end
end
14 changes: 14 additions & 0 deletions Samples/Swift/AppAttestExample/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,17 @@ target 'AppAttestExampleForPod' do
pod 'AppCheckCore'
platform :ios, '15.0'
end

post_install do |installer|
# Xcode 27 refuses to build a target whose deployment target is below iOS 15.0.
# Several transitive pods still declare lower floors in their own podspecs, so
# raise the generated Pods project targets to match this sample's own minimum.
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
ios = config.build_settings['IPHONEOS_DEPLOYMENT_TARGET']
if ios && Gem::Version.new(ios) < Gem::Version.new('15.0')
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '15.0'
end
end
end
end
19 changes: 19 additions & 0 deletions Samples/Swift/DaysUntilBirthday/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,22 @@ end
target 'DaysUntilBirthdayForPod (macOS)' do
platform :osx, '12.0'
end

post_install do |installer|
# Xcode 27 refuses to build a target whose deployment target is below iOS 15.0
# or macOS 12.0. Several transitive pods still declare lower floors in their
# own podspecs, so raise the generated Pods project targets to match this
# sample's own minimums.
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
ios = config.build_settings['IPHONEOS_DEPLOYMENT_TARGET']
if ios && Gem::Version.new(ios) < Gem::Version.new('15.0')
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '15.0'
end
macos = config.build_settings['MACOSX_DEPLOYMENT_TARGET']
if macos && Gem::Version.new(macos) < Gem::Version.new('12.0')
config.build_settings['MACOSX_DEPLOYMENT_TARGET'] = '12.0'
end
end
end
end
Loading