-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathBRNetwork.podspec
executable file
·25 lines (22 loc) · 1.35 KB
/
BRNetwork.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
Pod::Spec.new do |s|
s.name = "BRNetwork" # 框架的名称
s.version = "2.1.0" # 框架的版本号
s.summary = "BRNetwork是一个基于AFNetworking和YYCache封装的轻量级网络请求工具" # 框架的简单介绍
# 框架的详细描述(详细介绍,要比简介长)
s.description = <<-DESC
BRNetwork是一个基于AFNetworking和YYCache封装的轻量级网络请求工具,支持本地数据缓存. Support the Objective - C language.
DESC
s.homepage = "https://github.com/agiapp/BRNetwork" # 框架的主页
s.license = { :type => "MIT", :file => "LICENSE" } # 证书类型
s.author = { "renbo" => "developer@irenb.com" } # 作者
s.social_media_url = 'https://www.irenb.com' # 社交网址
s.platform = :ios, '9.0' # 框架支持的平台和版本
s.ios.deployment_target = '9.0' # 最低支持的target
s.source = { :git => "https://github.com/agiapp/BRNetwork.git", :tag => s.version.to_s } # GitHib下载地址和版本
s.resource_bundles = { 'BRNetwork.Privacy' => 'BRNetwork/PrivacyInfo.xcprivacy' } # 隐私清单
s.requires_arc = true # 框架要求ARC环境下使用
# 本地框架源文件的位置(包含所有文件)
s.source_files = "BRNetwork/*.{h,m}"
s.dependency "AFNetworking"
s.dependency 'YYCache_BR'
end