From f2e852ca48b69d6019533a2136fd59cd63790ed4 Mon Sep 17 00:00:00 2001 From: Fabian Schlieper Date: Wed, 21 Sep 2016 21:27:45 +0200 Subject: [PATCH] set SWIFT_VERSION in post_install --- AppShell/Podfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/AppShell/Podfile b/AppShell/Podfile index ad23cfe..bc235da 100644 --- a/AppShell/Podfile +++ b/AppShell/Podfile @@ -8,3 +8,11 @@ use_frameworks! target 'AppShell' do pod 'crosswalk-ios', :path => '../' end + +post_install do |installer| + installer.pods_project.targets.each do |target| + target.build_configurations.each do |config| + config.build_settings['SWIFT_VERSION'] = '2.3' + end + end +end