-
Notifications
You must be signed in to change notification settings - Fork 11
/
Podfile
80 lines (64 loc) · 2.72 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
project 'XXTExplorer'
install! 'cocoapods', :deterministic_uuids => false
def shared_pods
pod 'XUI', :path => '../XUI', :inhibit_warnings => true
# pod 'XUI', :git => 'https://github.com/Lessica/XUI.git', :inhibit_warnings => true
# pod 'TOWebViewController', :path => '../TOWebViewController', :inhibit_warnings => true
pod 'TOWebViewController', :git => 'https://github.com/Lessica/TOWebViewController.git', :branch => 'WKWebView', :inhibit_warnings => true
pod 'OMGHTTPURLRQ', :inhibit_warnings => true
pod 'SOZOChromoplast', :inhibit_warnings => true
# pod 'PromiseKit', :path => '../PromiseKit', :inhibit_warnings => true
pod 'PromiseKit', '~> 1.7', :inhibit_warnings => true
pod 'LGAlertView', :path => '../LGAlertView', :inhibit_warnings => true
# pod 'LGAlertView', :git => 'https://github.com/Lessica/LGAlertView.git', :branch => 'old-device', :inhibit_warnings => true
pod 'MWPhotoBrowser', :path => '../MWPhotoBrowser', :inhibit_warnings => true
# pod 'MWPhotoBrowser', :git => 'https://github.com/Lessica/MWPhotoBrowser.git', :inhibit_warnings => true
pod 'YYCache', :inhibit_warnings => true
pod 'YYImage', '~> 1.0.4', :inhibit_warnings => true
# pod 'Bugly', :inhibit_warnings => true
end
target 'XXTouch' do
platform :ios, '8.0'
shared_pods
pod 'SSZipArchive', :git => 'https://github.com/Lessica/ZipArchive.git', :inhibit_warnings => true
pod 'UnrarKit', :git => 'https://github.com/Lessica/UnrarKit.git', :branch => 'v2.9', :inhibit_warnings => true
pod 'GCDWebServer/WebDAV', :inhibit_warnings => true
end
def shared_cloud
pod 'JSONModel', '~> 1.7.0', :inhibit_warnings => true
pod 'YYWebImage', '~> 1.0.5', :inhibit_warnings => true
end
target 'XXTExplorer' do
platform :ios, '8.0'
shared_pods
shared_cloud
pod 'FLEX', :configurations => ['Debug'], :inhibit_warnings => true
end
target 'XXTExplorer-Archive' do
platform :ios, '8.0'
shared_pods
shared_cloud
end
def fix_config(config)
# https://github.com/CocoaPods/CocoaPods/issues/8891
if config.build_settings['DEVELOPMENT_TEAM'].nil?
config.build_settings['DEVELOPMENT_TEAM'] = 'GXZ23M5TP2'
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '8.0'
end
end
installer.generated_projects.each do |project|
project.build_configurations.each do |config|
fix_config(config)
end
project.targets.each do |target|
target.build_configurations.each do |config|
fix_config(config)
end
end
end
end