This repository was archived by the owner on Jun 23, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathPodfile
59 lines (54 loc) · 1.89 KB
/
Podfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Uncomment this line to define a global platform for your project
platform :ios, '11.0'
use_frameworks!
inhibit_all_warnings!
def project_pods
react_path = './node_modules/react-native'
yoga_path = File.join(react_path, 'ReactCommon/yoga')
folly_path = File.join(react_path, 'third-party-podspecs/Folly.podspec')
pod 'Folly', :podspec => folly_path
pod 'React', :path => './node_modules/react-native', :subspecs => [
'Core',
'DevSupport',
'CxxBridge',
'RCTText',
'RCTNetwork',
'RCTWebSocket',
'RCTImage',
'RCTAnimation',
]
pod 'yoga', :path => yoga_path
pod 'RNFS', :path => './node_modules/react-native-fs'
pod 'react-native-webrtc', :path => './node_modules/react-native-webrtc'
pod 'RNDeviceInfo', :path => './node_modules/react-native-device-info'
pod 'RNSqlite2', :path => './node_modules/react-native-sqlite-2/ios/'
pod 'RNViewShot', :path => './node_modules/react-native-view-shot/'
pod 'CRToast'
pod 'SVProgressHUD'
pod 'RNUserAgent', :path => './node_modules/react-native-user-agent/ios/'
pod 'Purchases'
pod 'RNCAsyncStorage', :path => './node_modules/@react-native-community/async-storage'
end
target 'Client' do
project_pods
pod 'KKDomain', :git => 'https://github.com/kejinlu/KKDomain.git'
pod 'AWSCore', '~> 2.6'
pod 'AWSSNS', '~> 2.6'
pod 'RxSwift', '~> 4.0'
pod 'RealmSwift', '~> 3.7.0'
pod 'Charts', '~> 3.0.1'
end
target 'Storage' do
pod 'RealmSwift', '~> 3.7.0'
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'NO'
config.build_settings['DEBUG_INFORMATION_FORMAT'] = 'dwarf'
if target.name == 'Charts' then
config.build_settings['SWIFT_VERSION'] = '4.0'
end
end
end
end