-
Notifications
You must be signed in to change notification settings - Fork 16
/
DWCategory.podspec
23 lines (19 loc) · 1.1 KB
/
DWCategory.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Pod::Spec.new do |s|
s.name = "DWCategory" # 名称
s.version = "0.2.0" # 版本号,git 的 tag
s.summary = "一个简单的分类用于测试 Cocoapods 1.0 +"
s.description = <<-DESC
- 测试 pod
- Cocoapods 1.0
- description 需要比 summary 长
DESC
s.homepage = "https://github.com/Damonvvong"
s.license = { :type => "MIT", :file => "LICENSE" } # 开源协议
s.author = { "Damonwong" => "[email protected]" }
s.platform = :ios, "8.0" # 支持的平台及版本
s.source = { :git => "https://github.com/Damonvvong/DWCategory.git", :tag => "#{s.version}" }
# 项目地址作为开源项目,这里不能使用 ssh
s.source_files = "DWCategory", "DWCategory/**/*.{h,m}" # 模块文件路径配置
s.exclude_files = "Classes/Exclude"
s.module_name = 'DWCategory' # 模块名称
end