-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJLKit.podspec
88 lines (80 loc) · 3.27 KB
/
JLKit.podspec
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
#
# Be sure to run `pod spec lint JLKit.podspec' to ensure this is a
# valid spec and to remove all comments including this before submitting the spec.
#
# To learn more about Podspec attributes see https://guides.cocoapods.org/syntax/podspec.html
# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
#
Pod::Spec.new do |s|
s.name = 'JLKit'
s.version = '0.0.1'
s.summary = '基于Cocoa Framework的一组常用以及通用组件和方法'
s.homepage = 'https://github.com/jlancer/JLKit'
s.license = 'MIT'
s.authors = {'jlancer' => '[email protected]'}
s.platform = :ios, '9.0'
s.source = {:git => 'https://github.com/jlancer/JLKit.git', :tag => s.version}
s.requires_arc = true
s.subspec 'JLCategory' do |ss|
ss.source_files = 'JLKit/Classes/JLCategory/**/*.{h,m,mm,c}'
ss.requires_arc = false
ss.requires_arc = ['JLKit/Classes/JLCategory/**/*.{m,mm}']
ss.frameworks = 'Foundation'
ss.frameworks = 'UIKit'
ss.frameworks = 'CoreText'
ss.frameworks = 'QuartzCore'
ss.frameworks = 'AdSupport'
ss.frameworks = 'SystemConfiguration'
ss.dependency 'Typeset'
end
s.subspec 'JLController' do |ss|
ss.source_files = 'JLKit/Classes/JLController/**/*.{h,m,mm,c}'
ss.frameworks = 'Foundation'
ss.frameworks = 'UIKit'
ss.frameworks = 'JavaScriptCore'
ss.frameworks = 'WebKit'
ss.frameworks = 'SafariServices'
ss.dependency 'SDWebImage'
ss.dependency 'BlocksKit'
ss.dependency 'JLKit/JLCategory'
end
s.subspec 'JLLBS' do |ss|
ss.source_files = 'JLKit/Classes/JLLBS/**/*.{h,m,mm,c}'
ss.resources = 'JLKit/Classes/JLLBS/**/*.{png,jpg,json,plist,xib,bundle}'
ss.frameworks = 'Foundation'
ss.frameworks = 'UIKit'
ss.frameworks = 'CoreLocation'
ss.frameworks = 'MapKit'
end
s.subspec 'JLNetwork' do |ss|
ss.source_files = 'JLKit/Classes/JLNetwork/**/*.{h,m,mm,c}'
ss.frameworks = 'Foundation'
ss.frameworks = 'CoreTelephony'
ss.frameworks = 'SystemConfiguration'
ss.libraries = 'resolv.9'
ss.dependency 'AFNetworking'
end
s.subspec 'JLStorage' do |ss|
ss.source_files = 'JLKit/Classes/JLStorage/**/*.{h,m,mm,c}'
ss.frameworks = 'Foundation'
ss.dependency 'YYModel'
ss.dependency 'JSONModel'
ss.dependency 'MJExtension'
end
s.subspec 'JLWidget' do |ss|
ss.source_files = 'JLKit/Classes/JLWidget/**/*.{h,m,mm,c}'
ss.resources = 'JLKit/Classes/JLWidget/**/*.{png,jpg,json,plist,xib,bundle,gif}'
ss.frameworks = 'Foundation'
ss.frameworks = 'UIKit'
ss.frameworks = 'ImageIO'
ss.frameworks = 'QuartzCore'
ss.dependency 'SDWebImage'
ss.dependency 'FLAnimatedImage'
ss.dependency 'Masonry'
ss.dependency 'BlocksKit'
ss.dependency 'MJRefresh'
ss.dependency 'CHTCollectionViewWaterfallLayout'
ss.dependency 'UICollectionViewLeftAlignedLayout'
ss.dependency 'JLKit/JLCategory'
end
end