File tree 2 files changed +14
-0
lines changed
2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -88,3 +88,14 @@ def use_flipper!(versions = {})
88
88
pod 'FlipperKit/FlipperKitLayoutTextSearchable' , versions [ 'Flipper' ] , :configuration => 'Debug'
89
89
pod 'FlipperKit/FlipperKitNetworkPlugin' , versions [ 'Flipper' ] , :configuration => 'Debug'
90
90
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
Original file line number Diff line number Diff line change @@ -18,6 +18,9 @@ target 'HelloWorld' do
18
18
# Note that if you have use_frameworks! enabled, Flipper will not work and
19
19
# you should disable these next few lines.
20
20
use_flipper!
21
+ post_install do |installer |
22
+ flipper_post_install ( installer )
23
+ end
21
24
end
22
25
23
26
target 'HelloWorld-tvOS' do
You can’t perform that action at this time.
0 commit comments