-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFirstBlood.podspec
32 lines (30 loc) · 1.11 KB
/
FirstBlood.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
Pod::Spec.new do |spec|
# 库名称
spec.name = "FirstBlood"
# 版本号
spec.version = "0.0.2"
# Swift版本
spec.swift_versions = "5.0"
# 库简短介绍,以后search到简介
spec.summary = "my firstBlood"
# 开源库地址,或者是博客、社交地址等
spec.homepage = "https://github.com/Fat-Brother/FirstBlood"
# 开源协议
spec.license = "MIT"
# 开源库作者
spec.author = { "Fat-Brother" => "email@address.com" }
# 最低支持 iOS build 的平台
spec.platform = :ios, "10.0"
# 最低开发
spec.ios.deployment_target = "10.0"
# 开源库 GitHub 的路径与 tag 值,GitHub路径后必须有 .git,tag 实际就是上面的版本
spec.source = { :git => "https://github.com/Fat-Brother/FirstBlood.git", :tag => spec.version }
# 源库资源文件
spec.source_files = "FirstBlood", "SourceFiles/**/*.{h,m,swift}"
spec.exclude_files = "Classes/Exclude"
spec.requires_arc = true
#项目的依赖库等等
spec.dependency "AFNetworking"
spec.dependency "SDWebImage"
spec.dependency "SSZipArchive"
end