|
1 |
| -platform :ios, '10.0' |
| 1 | +require_relative '../node_modules/react-native/scripts/react_native_pods' |
2 | 2 | require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
3 | 3 |
|
4 |
| -def add_flipper_pods! |
5 |
| - version = '~> 0.33.1' |
6 |
| - pod 'FlipperKit', version, :configuration => 'Debug' |
7 |
| - pod 'FlipperKit/FlipperKitLayoutPlugin', version, :configuration => 'Debug' |
8 |
| - pod 'FlipperKit/SKIOSNetworkPlugin', version, :configuration => 'Debug' |
9 |
| - pod 'FlipperKit/FlipperKitUserDefaultsPlugin', version, :configuration => 'Debug' |
10 |
| - pod 'FlipperKit/FlipperKitReactPlugin', version, :configuration => 'Debug' |
11 |
| -end |
12 |
| -# Post Install processing for Flipper |
13 |
| -def flipper_post_install(installer) |
14 |
| - installer.pods_project.targets.each do |target| |
15 |
| - if target.name == 'YogaKit' |
16 |
| - target.build_configurations.each do |config| |
17 |
| - config.build_settings['SWIFT_VERSION'] = '5.0' |
18 |
| - end |
19 |
| - end |
20 |
| - end |
21 |
| -end |
| 4 | +platform :ios, '12.0' |
22 | 5 |
|
23 | 6 | target 'TranscribeExample' do
|
24 |
| - # Pods for TranscribeExample |
25 |
| - pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector" |
26 |
| - pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec" |
27 |
| - pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired" |
28 |
| - pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety" |
29 |
| - pod 'React', :path => '../node_modules/react-native/' |
30 |
| - pod 'React-Core', :path => '../node_modules/react-native/' |
31 |
| - pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules' |
32 |
| - pod 'React-Core/DevSupport', :path => '../node_modules/react-native/' |
33 |
| - pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS' |
34 |
| - pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation' |
35 |
| - pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob' |
36 |
| - pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image' |
37 |
| - pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS' |
38 |
| - pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network' |
39 |
| - pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings' |
40 |
| - pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text' |
41 |
| - pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration' |
42 |
| - pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/' |
| 7 | + config = use_native_modules! |
43 | 8 |
|
44 |
| - pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact' |
45 |
| - pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi' |
46 |
| - pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor' |
47 |
| - pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector' |
48 |
| - pod 'ReactCommon/callinvoker', :path => "../node_modules/react-native/ReactCommon" |
49 |
| - pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon" |
50 |
| - pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga', :modular_headers => true |
51 |
| - |
52 |
| - pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec' |
53 |
| - pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec' |
54 |
| - pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec' |
| 9 | + use_react_native!(:path => config["reactNativePath"]) |
55 | 10 |
|
56 | 11 | pod 'react-native-transcribe', :path => '../..'
|
57 | 12 |
|
58 |
| - use_native_modules! |
59 |
| - |
60 | 13 | # Enables Flipper.
|
61 | 14 | #
|
62 | 15 | # Note that if you have use_frameworks! enabled, Flipper will not work and
|
63 | 16 | # you should disable these next few lines.
|
64 |
| - add_flipper_pods! |
65 |
| - post_install do |installer| |
66 |
| - flipper_post_install(installer) |
67 |
| - end |
| 17 | + # use_flipper!({ 'Flipper' => '0.80.0' }) |
| 18 | + # post_install do |installer| |
| 19 | + # flipper_post_install(installer) |
| 20 | + # end |
68 | 21 | end
|
0 commit comments