-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMortgage.podspec
22 lines (18 loc) · 1.62 KB
/
Mortgage.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Pod::Spec.new do |s|
s.name = "Mortgage" #名称
s.version = "1.0.2" #版本号
s.summary = "mfb'calculator on iOS." #简短介绍,下面是详细介绍
s.description = <<-DESC
mfb'calculator for iOS.
DESC
s.homepage = "https://github.com/gulullu/ios_calculator" #主页,这里要填写可以访问到的地址,不然验证不通过
s.license = 'MIT' #开源协议
s.author = { "Allen" => "[email protected]" } #作者信息
s.source = { :git => "https://github.com/gulullu/ios_calculator.git", :tag => "1.0.2" } #项目地址,这里不支持ssh的地址,验证不通过,只支持HTTP和HTTPS,最好使用HTTPS
s.platform = :ios, '7.0' #支持的平台及版本
s.requires_arc = true #是否使用ARC,如果指定具体文件,则具体的问题使用ARC
s.source_files = 'Mortgage/Mortgage/MortgageVc/*.{h,m}' #代码源文件地址,**/*表示Classes目录及其子目录下所有文件,如果有多个目录下则用逗号分开,如果需要在项目中分组显示,这里也要做相应的设置
s.resources = "Mortgage/Mortgage/MortgageVc/*.{xib}","Mortgage/Mortgage/images/*.{png}" #资源文件地址
s.frameworks = 'Foundation', 'CoreGraphics', 'UIKit' #所需的framework,多个用逗号隔开
s.dependency 'SVProgressHUD' #依赖关系,该项目所依赖的其他库,如果有多个需要填写多个s.dependency
end