forked from Piwigo/Piwigo-Mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Podfile
40 lines (34 loc) · 1.09 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
# Uncomment the next line to define a global platform for your project
platform :ios, '9.3'
target 'piwigo' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
pre_install do |installer|
puts 'pre_install begin....'
dir_af = File.join(installer.sandbox.pod_dir('AFNetworking'), 'UIKit+AFNetworking')
Dir.foreach(dir_af) {|x|
real_path = File.join(dir_af, x)
if (!File.directory?(real_path) && File.exists?(real_path))
if((x.start_with?('UIWebView') || x == 'UIKit+AFNetworking.h'))
File.delete(real_path)
puts 'delete:'+ x
end
end
}
puts 'end pre_install.'
end
# Pods for piwigo
pod 'AFNetworking', '~> 4.0.1'
pod 'MBProgressHUD', '~> 1.2.0'
pod 'MGSwipeTableCell', '~> 1.6.11'
pod 'SAMKeychain', '~> 1.5.3'
pod 'IQKeyboardManager', '~> 6.5.5'
target 'piwigoAppStore' do
inherit! :search_paths
# Pods for testing
end
target 'piwigoGetPiwigo' do
inherit! :search_paths
# Pods for testing
end
end