Skip to content

Commit 44beb2a

Browse files
Remove the post install step (#28651)
Summary: Removes the post install step for Flipper, as the latest version of YogaKit is compatible with swift 5. cc alloy ## Changelog <!-- Help reviewers and the release process by writing your own changelog entry. For an example, see: https://github.com/facebook/react-native/wiki/Changelog --> [Flipper] [Template] - Remove the post install step for Flipper Pull Request resolved: #28651 Test Plan: Tested a newly created RN app without post install step and it built successfully. Reviewed By: passy Differential Revision: D21064653 Pulled By: priteshrnandgaonkar fbshipit-source-id: da56d0754d918e30a0ebe480c77590f0139d48ac
1 parent 7cedccd commit 44beb2a

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

scripts/react_native_pods.rb

-11
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,3 @@ def use_flipper!(versions = {})
8888
pod 'FlipperKit/FlipperKitLayoutTextSearchable', versions['Flipper'], :configuration => 'Debug'
8989
pod 'FlipperKit/FlipperKitNetworkPlugin', versions['Flipper'], :configuration => 'Debug'
9090
end
91-
92-
# Post Install processing for Flipper
93-
def flipper_post_install(installer)
94-
installer.pods_project.targets.each do |target|
95-
if target.name == 'YogaKit'
96-
target.build_configurations.each do |config|
97-
config.build_settings['SWIFT_VERSION'] = '4.1'
98-
end
99-
end
100-
end
101-
end

template/ios/Podfile

-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ target 'HelloWorld' do
1818
# Note that if you have use_frameworks! enabled, Flipper will not work and
1919
# you should disable these next few lines.
2020
use_flipper!
21-
post_install do |installer|
22-
flipper_post_install(installer)
23-
end
2421
end
2522

2623
target 'HelloWorld-tvOS' do

0 commit comments

Comments
 (0)