|
1 |
| -ENV['SWIFT_VERSION'] = '5' |
2 |
| -platform :ios, '10.0' |
3 | 1 | require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
| 2 | +require_relative '../node_modules/react-native/scripts/react_native_pods' |
4 | 3 |
|
5 |
| -target 'example' do |
6 |
| - # Pods for SampleApp |
7 |
| - pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector" |
8 |
| - pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec" |
9 |
| - pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired" |
10 |
| - pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety" |
11 |
| - pod 'React', :path => '../node_modules/react-native/' |
12 |
| - pod 'React-Core', :path => '../node_modules/react-native/' |
13 |
| - pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules' |
14 |
| - pod 'React-Core/DevSupport', :path => '../node_modules/react-native/' |
15 |
| - pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS' |
16 |
| - pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation' |
17 |
| - pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob' |
18 |
| - pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image' |
19 |
| - pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS' |
20 |
| - pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network' |
21 |
| - pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings' |
22 |
| - pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text' |
23 |
| - pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration' |
24 |
| - pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/' |
25 |
| - |
26 |
| - pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact' |
27 |
| - pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi' |
28 |
| - pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor' |
29 |
| - pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector' |
30 |
| - pod 'ReactCommon/callinvoker', :path => "../node_modules/react-native/ReactCommon" |
31 |
| - pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon" |
32 |
| - pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga' |
33 |
| - |
34 |
| - pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec' |
35 |
| - pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec' |
36 |
| - pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec' |
| 4 | +platform :ios, '10.0' |
37 | 5 |
|
38 |
| - use_native_modules! |
| 6 | +target 'example' do |
| 7 | + config = use_native_modules! |
| 8 | + use_react_native!(:path => config["reactNativePath"]) |
39 | 9 | end
|
40 | 10 |
|
| 11 | +post_install do |installer| |
| 12 | + installer.pods_project.targets.each do |target| |
| 13 | + target.build_configurations.each do |config| |
| 14 | + config.build_settings['ENABLE_TESTABILITY'] = 'YES' |
| 15 | + end |
| 16 | + end |
| 17 | +end |
0 commit comments