-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCLKits.podspec
97 lines (79 loc) · 3.23 KB
/
CLKits.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
#
# Be sure to run `pod spec lint CLKits.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://docs.cocoapods.org/specification.html
# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
#
Pod::Spec.new do |s|
s.name = "CLKits"
s.version = "1.0.7"
s.summary = "CLKits framework just save your time. deployment target ios 8.0"
s.homepage = "https://github.com/coooliang/CLKits"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = "coooliang"
s.platform = :ios, "8.0"
s.source = { :git => "https://github.com/coooliang/CLKits.git", :tag => "#{s.version}" }
s.requires_arc = true
s.ios.deployment_target = '8.0'
s.default_subspec = 'All'
s.subspec 'All' do |all|
all.source_files = 'Sources/UIKit+CL/*.{h,m}','Sources/CLNetworking/**/*.{h,m}','Sources/JKDBModel/**/*.{h,m}','Sources/CLUI/CLHUD/**/*.{h,m}','Sources/CLUI/CLAlertView/**/*.{h,m}','Sources/CLUI/CLActionSheet/**/*.{h,m}','Sources/CLUI/CLQRCode/**/*.{h,m}'
all.dependency "AFNetworking", "~> 3.2.1"
all.dependency "pop", "~> 1.0.12"
all.dependency "FMDB", "~> 2.7.5"
all.dependency "SVProgressHUD", "~> 2.1.2"
all.dependency "FTIndicator", "~> 1.2.9"
all.ios.frameworks = 'AVFoundation', 'UIKit'
end
s.subspec 'UIKit+CL' do |ss|
ss.source_files = 'Sources/CLUI/UIKit+CL/*.{h,m}'
ss.dependency "pop", "~> 1.0.12"
ss.ios.frameworks = 'UIKit'
end
s.subspec 'CLNetworking' do |ss|
ss.source_files = 'Sources/CLNetworking/**/*.{h,m}'
ss.dependency "AFNetworking", "~> 3.2.1"
ss.ios.frameworks = 'AVFoundation'
end
s.subspec 'JKDBModel' do |ss|
ss.source_files = 'Sources/JKDBModel/**/*.{h,m}'
ss.dependency "FMDB", "~> 2.7.5"
ss.ios.frameworks = 'AVFoundation'
end
s.subspec 'CLHUD' do |ss|
ss.source_files = 'Sources/CLUI/CLHUD/**/*.{h,m}'
ss.dependency "SVProgressHUD", "~> 2.1.2"
ss.dependency "FTIndicator", "~> 1.2.9"
ss.ios.frameworks = 'AVFoundation', 'UIKit'
end
s.subspec 'CLAlertView' do |ss|
ss.source_files = 'Sources/CLUI/CLAlertView/**/*.{h,m}'
ss.ios.frameworks = 'UIKit'
end
s.subspec 'CLActionSheet' do |ss|
ss.source_files = 'Sources/CLUI/CLActionSheet/**/*.{h,m}'
ss.ios.frameworks = 'UIKit'
end
s.subspec 'CLQRCode' do |ss|
ss.source_files = 'Sources/CLUI/CLQRCode/**/*.{h,m}'
ss.ios.frameworks = 'UIKit'
end
s.subspec 'YYUserDefaults' do |ss|
ss.source_files = 'Sources/YYUserDefaults/**/*.{h,m}'
ss.dependency "FMDB", "~> 2.7.5"
ss.dependency "YYCache", "~> 1.0.4"
ss.ios.frameworks = 'UIKit'
end
end
# https://blog.csdn.net/coooliang/article/details/84869937
# cd /Users/lion/Documents/CLKits/
# 1.push
# pod trunk push --allow-warnings --use-libraries
# 2.search
# rm ~/Library/Caches/CocoaPods/search_index.json
# pod search CLKits
# PS:
# - ERROR | [CLKits/All,CLKits/JKDBModel] xcodebuild: CLKits/Sources/JKDBModel/JKDBHelper.h:10:9: error: 'FMDB.h' file not found with <angled> include; use "quotes" instead
# pod trunk register 61917380@qq.com 'Lion' --description='Lion'
# pod trunk push --allow-warnings --use-libraries