forked from CatchChat/Yep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPodfile
80 lines (68 loc) · 1.49 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
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
use_frameworks!
def pods
pod 'Kanna', '1.0.2'
pod 'Navi'
pod 'Appsee'
pod 'Alamofire'
pod 'DeviceGuru'
pod '1PasswordExtension'
pod 'KeyboardMan'
pod 'Ruler'
pod 'Proposer'
pod 'FXBlurView'
pod 'Kingfisher'
pod 'TPKeyboardAvoiding'
pod 'pop'
pod 'Base64'
pod 'SocketRocket'
pod 'RealmSwift'
pod 'MonkeyKing', '0.0.2'
pod 'JPush'
pod 'Fabric'
end
target 'Yep' do
pods
target 'YepTests' do
inherit! :search_paths
end
end
target 'YepConfig' do
pod 'Ruler'
pod 'Kingfisher'
end
target 'FayeClient' do
pod 'SocketRocket'
pod 'Base64'
end
target 'OpenGraph' do
pod 'Alamofire'
pod 'Kanna', '1.0.2'
end
target 'YepKit' do
pod 'Alamofire'
pod 'RealmSwift'
pod 'Navi'
pod 'Ruler'
target 'YepKitTests' do
inherit! :search_paths
end
end
target 'YepShare' do
pod 'RealmSwift'
end
post_install do |installer|
puts 'Allow app extension api only:'
installer.pods_project.targets.each do |target|
case target.name
when 'Alamofire', 'Kanna', 'RealmSwift', 'Kingfisher', 'Ruler', 'Navi', 'Base64', 'SocketRocket'
target.build_configurations.each do |config|
config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = 'YES'
puts 'X...' + target.name
end
else
puts '....' + target.name
end
end
end