-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathPodfile
143 lines (112 loc) · 2.12 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
platform :ios, '11.4'
require_relative './node_modules/react-native/scripts/react_native_pods'
require_relative './node_modules/@react-native-community/cli-platform-ios/native_modules'
project './UserAgent.xcodeproj'
workspace 'UserAgent'
inhibit_all_warnings!
use_frameworks!
def tldextract
pod 'TLDExtract', '~> 1.0', :modular_headers => true
end
def xclogger
pod 'XCGLogger', '~> 7.0.0', :modular_headers => true
end
def fuzi
pod 'Fuzi', '~> 3.0', :modular_headers => true
end
def sqlite
pod 'SQLCipher', '~> 4.4.0'
end
def swiftyjson
pod 'SwiftyJSON', '~> 5.0'
end
def snapkit
pod 'SnapKit', '~> 5.0.0', :modular_headers => true
end
def sdwebimage
pod 'SDWebImage', '~> 5.0', :modular_headers => true
end
def gcdwebserver
pod 'GCDWebServer', '~> 3.3'
end
def sentry
pod 'Sentry', :git => 'https://github.com/getsentry/sentry-cocoa.git', :tag => '4.3.1'
end
def swiftlint
pod 'SwiftLint'
end
def react_native
config = use_native_modules!
config['reactNativePath'] = 'node_modules/react-native'
use_react_native!(:path => config['reactNativePath'])
end
## Definitions for targets
def main_app
snapkit
sdwebimage
swiftyjson
fuzi
xclogger
react_native
gcdwebserver
end
def extensions
snapkit
swiftyjson
fuzi
end
target 'Cliqz' do
main_app
end
target 'Ghostery' do
main_app
end
target 'WhiteLabel' do
main_app
end
target 'Storage' do
snapkit
sdwebimage
swiftyjson
fuzi
xclogger
sqlite
target 'StorageTests' do
inherit! :search_paths
end
end
target 'ShareTo' do
extensions
end
target 'OpenIn' do
extensions
end
target 'StoragePerfTests' do
end
target 'SharedTests' do
end
target 'ClientTests' do
snapkit
sdwebimage
sentry
gcdwebserver
end
target 'Shared' do
sdwebimage
swiftyjson
sentry
swiftlint
xclogger
tldextract
end
#target 'Today' do
# react_native
#end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.4'
config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = 'NO'
end
end
end