From 34901433b8069123032d6455f57720833408062f Mon Sep 17 00:00:00 2001 From: Olena Stepaniuk <92721590+OlenaPostindustria@users.noreply.github.com> Date: Thu, 8 Jun 2023 11:42:52 +0300 Subject: [PATCH] Add post-install action to Podfile to fix InternalTestApp error (#860) --- Podfile | 16 +++++++++++++--- Podfile.lock | 2 +- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/Podfile b/Podfile index cf114da85..0a5e3f606 100644 --- a/Podfile +++ b/Podfile @@ -8,11 +8,11 @@ project 'Example/PrebidDemo/PrebidDemo.xcodeproj' project 'tools/PrebidValidator/Dr.Prebid.xcodeproj' def gma_pods - pod 'Google-Mobile-Ads-SDK' + pod 'Google-Mobile-Ads-SDK' end def applovin_pods - pod 'AppLovinSDK' + pod 'AppLovinSDK' end def event_handlers_project @@ -53,7 +53,7 @@ end target 'PrebidMobileAdMobAdapters' do event_handlers_project gma_pods - + end target 'PrebidMobileAdMobAdaptersTests' do @@ -121,3 +121,13 @@ target 'OpenXMockServer' do pod 'Alamofire', '4.9.1' pod 'RxSwift' end + +post_install do |installer| + installer.generated_projects.each do |project| + project.targets.each do |target| + target.build_configurations.each do |config| + config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0' + end + end + end +end diff --git a/Podfile.lock b/Podfile.lock index 9d69e685d..634d83d0e 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -91,6 +91,6 @@ SPEC CHECKSUMS: RxSwift: 5710a9e6b17f3c3d6e40d6e559b9fa1e813b2ef8 SVProgressHUD: 1428aafac632c1f86f62aa4243ec12008d7a51d6 -PODFILE CHECKSUM: 3c887c944b0f89da0ea19c940e04f6c22b280368 +PODFILE CHECKSUM: bae4436ed691a1d2217fde386d8881d6e7e06963 COCOAPODS: 1.12.1