From 96ece43b6d39f8828b6ee0ff1032853f4706a5ae Mon Sep 17 00:00:00 2001 From: Pritesh Nandgaonkar Date: Thu, 16 Apr 2020 14:13:56 +0100 Subject: [PATCH 1/2] [Flipper][RN] Remove the post install step --- scripts/react_native_pods.rb | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/scripts/react_native_pods.rb b/scripts/react_native_pods.rb index 219843264680..5c1eb2c75034 100644 --- a/scripts/react_native_pods.rb +++ b/scripts/react_native_pods.rb @@ -88,14 +88,3 @@ def use_flipper!(versions = {}) pod 'FlipperKit/FlipperKitLayoutTextSearchable', versions['Flipper'], :configuration => 'Debug' pod 'FlipperKit/FlipperKitNetworkPlugin', versions['Flipper'], :configuration => 'Debug' end - -# Post Install processing for Flipper -def flipper_post_install(installer) - installer.pods_project.targets.each do |target| - if target.name == 'YogaKit' - target.build_configurations.each do |config| - config.build_settings['SWIFT_VERSION'] = '4.1' - end - end - end -end From 45cc5d6a855ec43e4f630fb42d808e2d2bd89764 Mon Sep 17 00:00:00 2001 From: Pritesh Nandgaonkar Date: Thu, 16 Apr 2020 14:28:45 +0100 Subject: [PATCH 2/2] remove callsite --- template/ios/Podfile | 3 --- 1 file changed, 3 deletions(-) diff --git a/template/ios/Podfile b/template/ios/Podfile index 6e1ebd618116..8e81ab05d758 100644 --- a/template/ios/Podfile +++ b/template/ios/Podfile @@ -18,9 +18,6 @@ target 'HelloWorld' do # Note that if you have use_frameworks! enabled, Flipper will not work and # you should disable these next few lines. use_flipper! - post_install do |installer| - flipper_post_install(installer) - end end target 'HelloWorld-tvOS' do