|
@@ -1,5 +1,4 @@
|
1
|
1
|
platform :ios, '9.0'
|
2
|
|
-
|
3
|
2
|
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
4
|
3
|
|
5
|
4
|
def add_flipper_pods!(versions = {})
|
|
@@ -31,6 +30,7 @@ def add_flipper_pods!(versions = {})
|
31
|
30
|
pod 'FlipperKit/FlipperKitLayoutTextSearchable', versions['Flipper'], :configuration => 'Debug'
|
32
|
31
|
pod 'FlipperKit/FlipperKitNetworkPlugin', versions['Flipper'], :configuration => 'Debug'
|
33
|
32
|
end
|
|
33
|
+
|
34
|
34
|
# Post Install processing for Flipper
|
35
|
35
|
def flipper_post_install(installer)
|
36
|
36
|
installer.pods_project.targets.each do |target|
|
|
@@ -42,8 +42,6 @@ def flipper_post_install(installer)
|
42
|
42
|
end
|
43
|
43
|
end
|
44
|
44
|
|
45
|
|
-
|
46
|
|
-
|
47
|
45
|
target 'Campus' do
|
48
|
46
|
# Pods for Campus
|
49
|
47
|
rnPrefix = "../node_modules/react-native"
|
|
@@ -64,20 +62,24 @@ target 'Campus' do
|
64
|
62
|
pod 'React-RCTText', :path => "#{rnPrefix}/Libraries/Text"
|
65
|
63
|
pod 'React-RCTVibration', :path => "#{rnPrefix}/Libraries/Vibration"
|
66
|
64
|
pod 'React-Core/RCTWebSocket', :path => "#{rnPrefix}/"
|
67
|
|
- pod 'React-Core/DevSupport', :path => "#{rnPrefix}/"
|
|
65
|
+
|
68
|
66
|
pod 'React-cxxreact', :path => "#{rnPrefix}/ReactCommon/cxxreact"
|
69
|
67
|
pod 'React-jsi', :path => "#{rnPrefix}/ReactCommon/jsi"
|
70
|
68
|
pod 'React-jsiexecutor', :path => "#{rnPrefix}/ReactCommon/jsiexecutor"
|
71
|
69
|
pod 'React-jsinspector', :path => "#{rnPrefix}/ReactCommon/jsinspector"
|
72
|
|
- pod 'ReactCommon/callinvoker', :path => "../node_modules/react-native/ReactCommon"
|
|
70
|
+ pod 'ReactCommon/callinvoker', :path => "#{rnPrefix}/ReactCommon"
|
73
|
71
|
pod 'ReactCommon/turbomodule/core', :path => "#{rnPrefix}/ReactCommon"
|
74
|
|
- pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga', :modular_headers => true
|
|
72
|
+ pod 'Yoga', :path => '#{rnPrefix}/ReactCommon/yoga', :modular_headers => true
|
75
|
73
|
|
76
|
74
|
pod 'DoubleConversion', :podspec => "#{rnPrefix}/third-party-podspecs/DoubleConversion.podspec"
|
77
|
75
|
pod 'glog', :podspec => "#{rnPrefix}/third-party-podspecs/glog.podspec"
|
78
|
76
|
pod 'Folly', :podspec => "#{rnPrefix}/third-party-podspecs/Folly.podspec"
|
79
|
77
|
|
80
|
|
-
|
|
78
|
+ target 'CampusTests' do
|
|
79
|
+ inherit! :complete
|
|
80
|
+ # Pods for testing
|
|
81
|
+ end
|
|
82
|
+
|
81
|
83
|
# react-native-cli autolinking
|
82
|
84
|
use_native_modules!
|
83
|
85
|
|
|
@@ -91,9 +93,9 @@ target 'Campus' do
|
91
|
93
|
#
|
92
|
94
|
# Note that if you have use_frameworks! enabled, Flipper will not work and
|
93
|
95
|
# you should disable these next few lines.
|
94
|
|
- add_flipper_pods!
|
95
|
|
- post_install do |installer|
|
96
|
|
- flipper_post_install(installer)
|
97
|
|
- end
|
|
96
|
+ #add_flipper_pods!
|
|
97
|
+ #post_install do |installer|
|
|
98
|
+ # flipper_post_install(installer)
|
|
99
|
+ #end
|
98
|
100
|
|
99
|
101
|
end
|