diff --git a/Example/Podfile b/Example/Podfile index 030870a6..ffe75525 100644 --- a/Example/Podfile +++ b/Example/Podfile @@ -13,3 +13,13 @@ target 'AppleReminders' do pod 'CrowdinSDK', :path => '../' pod 'CrowdinSDK/Settings', :path => '../' end + +post_install do |installer| + installer.pods_project.targets.each do |target| + target.build_configurations.each do |config| + if Gem::Version.new('12.0') > Gem::Version.new(config.build_settings['IPHONEOS_DEPLOYMENT_TARGET']) + config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0' + end + end + end +end diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 6e8f5012..556a4d8c 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -88,6 +88,6 @@ SPEC CHECKSUMS: SwiftDate: bbc26e26fc8c0c33fbee8c140c5e8a68293a148a SwiftLint: 1cc5cd61ba9bacb2194e340aeb47a2a37fda00b3 -PODFILE CHECKSUM: 074b840e8445d9c503f88d22ae46cf4abf8bae59 +PODFILE CHECKSUM: ac5ff3869bd8ecdae9e8e3231cff600cc696330e COCOAPODS: 1.15.2