forked from wordpress-mobile/WordPress-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Podfile
216 lines (166 loc) · 5.2 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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
source 'https://github.com/CocoaPods/Specs.git'
inhibit_all_warnings!
use_frameworks!
platform :ios, '10.0'
workspace 'WordPress.xcworkspace'
post_install do |installer|
installer.pods_project.targets.each do |target|
if ['Gifu', 'Starscream', 'WordPress-Aztec-iOS', 'WordPress-Editor-iOS'].include? target.name
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '4.0'
end
end
end
end
## Pods shared between all the targets
## ===================================
##
def wordpress_shared
## for production:
pod 'WordPressShared', '1.2.0'
## for development:
## pod 'WordPressShared', :path => '../WordPress-iOS-Shared'
## while PR is in review:
## pod 'WordPressShared', :git => 'https://github.com/wordpress-mobile/WordPress-iOS-Shared.git', :commit => '35c81ae4c75bb36455d49c7d4b495d22fb7871e3'
end
def aztec
## When using a tagged version, feel free to comment out the WordPress-Aztec-iOS line below.
## When using a commit number (during development) you should provide the same commit number for both pods.
##
## pod 'WordPress-Editor-iOS', :git => 'https://github.com/wordpress-mobile/AztecEditor-iOS.git', :commit => 'cc56f1886a6e3f566f6af65b1a663007c2aa82c9'
pod 'WordPress-Editor-iOS', '1.1'
end
def wordpress_ui
## for production:
pod 'WordPressUI', '1.0.8'
## for development:
## pod 'WordPressUI', :path => '../WordPressUI-iOS'
## while PR is in review:
## pod 'WordPressUI', :git => 'https://github.com/wordpress-mobile/WordPressUI-iOS.git', :commit => '5ec2be1533a86335710221ec20df5b4ba78b06e4'
end
def shared_with_all_pods
wordpress_shared
pod 'CocoaLumberjack', '3.4.2'
pod 'FormatterKit/TimeIntervalFormatter', '1.8.2'
pod 'NSObject-SafeExpectations', '0.0.3'
pod 'UIDeviceIdentifier', '~> 0.4'
end
def shared_with_networking_pods
pod 'AFNetworking', '3.2.1'
pod 'Alamofire', '4.7.3'
pod 'wpxmlrpc', '0.8.3'
pod 'WordPressKit', '1.4.3-beta.2'
end
def shared_test_pods
pod 'OHHTTPStubs', '6.1.0'
pod 'OHHTTPStubs/Swift', '6.1.0'
pod 'OCMock', '~> 3.4'
end
## WordPress iOS
## =============
##
target 'WordPress' do
project 'WordPress/WordPress.xcodeproj'
shared_with_all_pods
shared_with_networking_pods
## Third party libraries
## =====================
##
pod '1PasswordExtension', '1.8.5'
pod 'HockeySDK', '5.1.4', :configurations => ['Release-Internal', 'Release-Alpha']
pod 'MRProgress', '0.8.3'
pod 'Reachability', '3.2'
pod 'SVProgressHUD', '2.2.5'
pod 'Crashlytics', '3.10.8'
pod 'BuddyBuildSDK', '1.0.17', :configurations => ['Release-Alpha']
pod 'Gifu', '3.1.0'
pod 'GiphyCoreSDK', '~> 1.4.0'
pod 'MGSwipeTableCell', '1.6.7'
pod 'lottie-ios', '2.5.0'
pod 'Starscream', '3.0.4'
pod 'ZendeskSDK', '2.2.0'
## Automattic libraries
## ====================
##
pod 'Automattic-Tracks-iOS', :git => 'https://github.com/Automattic/Automattic-Tracks-iOS.git', :tag => '0.2.3'
pod 'Gridicons', '0.16'
pod 'NSURL+IDN', '0.3'
pod 'WPMediaPicker', '1.3.1'
## while PR is in review:
## pod 'WPMediaPicker', :git => 'https://github.com/wordpress-mobile/MediaPicker-iOS.git', :commit => '82f798c0dc18b17a11dfafa37f1fd39eb508b29b'
pod 'WordPressAuthenticator', '1.1.2'
aztec
wordpress_ui
target 'WordPressTest' do
inherit! :search_paths
shared_test_pods
pod 'Nimble', '~> 7.1.1'
end
## Share Extension
## ===============
##
target 'WordPressShareExtension' do
inherit! :search_paths
shared_with_all_pods
shared_with_networking_pods
aztec
wordpress_ui
pod 'Gridicons', '0.16'
end
## DraftAction Extension
## =====================
##
target 'WordPressDraftActionExtension' do
inherit! :search_paths
shared_with_all_pods
shared_with_networking_pods
aztec
wordpress_ui
pod 'Gridicons', '0.16'
end
## Today Widget
## ============
##
target 'WordPressTodayWidget' do
inherit! :search_paths
shared_with_all_pods
shared_with_networking_pods
end
end
## Notification Content Extension
## ==============================
##
target 'WordPressNotificationContentExtension' do
project 'WordPress/WordPress.xcodeproj'
inherit! :search_paths
pod 'WordPressKit', '1.4.3-beta.2'
wordpress_shared
wordpress_ui
end
## Notification Service Extension
## ==============================
##
target 'WordPressNotificationServiceExtension' do
project 'WordPress/WordPress.xcodeproj'
inherit! :search_paths
pod 'Gridicons', '0.16'
pod 'WordPressKit', '1.4.3-beta.2'
wordpress_shared
wordpress_ui
end
## WordPress.com Stats
## ===================
##
target 'WordPressComStatsiOS' do
project 'WordPressComStatsiOS/WordPressComStatsiOS.xcodeproj'
shared_with_all_pods
shared_with_networking_pods
## Automattic libraries
## ====================
##
wordpress_ui
target 'WordPressComStatsiOSTests' do
inherit! :search_paths
shared_test_pods
end
end