forked from Jeykit/MUKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMUKit.podspec
125 lines (121 loc) · 5.03 KB
/
MUKit.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
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
#
# Be sure to run `pod lib lint MUKit.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
# 先修改podspec文件,然后pod spec lint/pod lib lint验证通过后再git打标签,否则容易出错
# pod lib lint --allow-warnings --use-libraries
# 包含第三方库时使用pod repo push MUKit MUKit.podspec --allow-warnings --use-libraries验证
# 注册pod trunk register [email protected] 'Jekity' --verbose
# 发布到cocoapods pod trunk push MUKit.podspec --use-libraries --allow-warnings
# 在podfile文件中加入inhibit_all_warnings!可以消除pod库警告
Pod::Spec.new do |s|
s.name = 'MUKit'
s.version = '1.2.1'
s.summary = 'UITableView、UICollectionView、Signal、UINavigation、AliPay、weChatPay、Shared、Popup、Networking,runtime、Carousel、QRCode - 一款提高iOS开发效率的工具包MUKit'
s.description = <<-DESC
fix signal ,MVVMTableView,Waterfall,Shared,Carousel,MUPayment,QRCodeScan,MUPaperView,MUNavigation
DESC
s.homepage = 'https://github.com/Jeykit/MUKit'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Jeykit' => '[email protected]' }
s.source = { :git => 'https://github.com/Jeykit/MUKit.git', :tag => s.version }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
#s.ios.deployment_target = '8.0'
#s.source_files = 'MUKit/Classes/**/*'
s.source_files = 'MUKit/Classes/MUKit.h'
s.public_header_files = 'MUKit/Classes/MUKit.h'
s.ios.deployment_target = '8.0'
#s.platform = :ios, '8.0' #支持的系统
s.subspec 'Normal' do |ss|
ss.source_files = 'MUKit/Classes/MUNormal/*.{h,m}'
ss.public_header_files = 'MUKit/Classes/MUNormal/UIView+MUNormal.h'
end
s.subspec 'TipsView' do |ss|
ss.source_files = 'MUKit/Classes/MUTipsView/*.{h,m}'
end
s.subspec 'Public' do |ss|
ss.source_files = 'MUKit/Classes/Public/*.{h,m}'
end
s.subspec 'Image' do |ss|
ss.source_files = 'MUKit/Classes/UIImage/*.{h,m}'
end
s.subspec 'Color' do |ss|
ss.source_files = 'MUKit/Classes/UIColor/*.{h,m}'
end
s.subspec 'Refresh' do |ss|
ss.source_files = 'MUKit/Classes/Refresh/*.{h,m}'
ss.dependency 'MUKit/Public'
end
s.subspec 'Signal' do |ss|
ss.source_files = 'MUKit/Classes/MUSignal/*.{h,m}'
ss.public_header_files = 'MUKit/Classes/MUSignal/{MUSignal,UIView+MUSignal}.h'
end
s.subspec 'Carousel' do |ss|
ss.source_files = 'MUKit/Classes/Carousel/MUCarouselView.{h,m}'
ss.dependency 'SDWebImage'
end
s.subspec 'AdaptiveView' do |ss|
ss.source_files = 'MUKit/Classes/MUAdaptiveView/*.{h,m}'
ss.public_header_files = 'MUKit/Classes/MUAdaptiveView/MUAdaptiveView.h'
ss.dependency 'SDWebImage'
end
s.subspec 'Navigation' do |ss|
ss.source_files = 'MUKit/Classes/MUNavigationController/*.{h,m}'
ss.public_header_files = 'MUKit/Classes/MUNavigationController/MUNavigation.h'
ss.dependency 'YYModel'
end
s.subspec 'TableViewManager' do |ss|
ss.source_files = 'MUKit/Classes/MUTableViewManager/*.{h,m}'
ss.dependency 'MUKit/TipsView'
ss.dependency 'MUKit/Refresh'
ss.dependency 'YYModel'
end
s.subspec 'PaperView' do |ss|
ss.source_files = 'MUKit/Classes/MUPaperView/*.{h,m}'
ss.public_header_files = 'MUKit/Classes/MUPaperView/MUPaperView.h'
end
s.subspec 'Shared' do |ss|
ss.source_files = 'MUKit/Classes/MUShared/*.{h,m}'
ss.public_header_files = 'MUKit/Classes/MUShared/MUShared{Manager,Object}.h'
#ss.dependency 'AliPay'
ss.dependency 'WeChat_SDK'
ss.dependency 'WeiboSDK'
ss.dependency 'TencentOpenApiSDK'
ss.dependency 'MUKit/Public'
end
s.subspec 'EPaymentManager' do |ss|
ss.source_files = 'MUKit/Classes/MUEPaymentManager/*.{h,m}'
ss.public_header_files = 'MUKit/Classes/MUEPaymentManager/MUEPaymentManager.h'
ss.dependency 'MUKit/Public'
ss.dependency 'AliPay'
ss.dependency 'WeChat_SDK'
end
s.subspec 'PopupController' do |ss|
ss.source_files = 'MUKit/Classes/MUPopupController/*.{h,m}'
ss.public_header_files = 'MUKit/Classes/MUPopupController/{MUPopup,MUPopupController,UIViewController+MUPopup}.h'
ss.dependency 'MUKit/Public'
end
s.subspec 'Encryption' do |ss|
ss.source_files = 'MUKit/Classes/MUEncryption/*.{h,m}'
ss.public_header_files = 'MUKit/Classes/MUEncryption/MUEncryptionUtil.h'
ss.frameworks = 'Security'
end
s.subspec 'CollectionViewManager' do |ss|
ss.source_files = 'MUKit/Classes/MUCollectionViewManager/*.{h,m}'
ss.dependency 'YYModel'
ss.dependency 'MUKit/TipsView'
ss.dependency 'MUKit/Refresh'
end
s.subspec 'QRCodeScanTool' do |ss|
ss.source_files = 'MUKit/Classes/{QRCodeScan,Public}/{MUQRCodeScanTool,MUHookMethodHelper}.{h,m}'
end
s.subspec 'Networking' do |ss|
ss.source_files = 'MUKit/Classes/Networking/*.{h,m}'
ss.dependency 'YYModel'
ss.dependency 'AFNetworking'
end
end