Skip to content

Commit

Permalink
Add post-install action to Podfile to fix InternalTestApp error (#860)
Browse files Browse the repository at this point in the history
  • Loading branch information
OlenaPostindustria authored Jun 8, 2023
1 parent fad2d5b commit 3490143
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
16 changes: 13 additions & 3 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -53,7 +53,7 @@ end
target 'PrebidMobileAdMobAdapters' do
event_handlers_project
gma_pods

end

target 'PrebidMobileAdMobAdaptersTests' do
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,6 @@ SPEC CHECKSUMS:
RxSwift: 5710a9e6b17f3c3d6e40d6e559b9fa1e813b2ef8
SVProgressHUD: 1428aafac632c1f86f62aa4243ec12008d7a51d6

PODFILE CHECKSUM: 3c887c944b0f89da0ea19c940e04f6c22b280368
PODFILE CHECKSUM: bae4436ed691a1d2217fde386d8881d6e7e06963

COCOAPODS: 1.12.1

0 comments on commit 3490143

Please sign in to comment.