s.name = "LivePods" #工程的名字
s.version = "0.0.1" #工程的版本
s.summary = "Live Pods's summary" #工程的摘要
s.description = "Live Pods's description" #工程的描述
s.homepage = "https://github.com/jifengs/LivePods" #工程的首页
s.license = "MIT" #工程的证书
s.author = { "xxx" => "xxx@126.com" } #工程的作者
s.ios.deployment_target = "10.0" #工程的编译版本
s.source = { :git => "https://github.com/jifengs/LivePods.git", :tag => "#{s.version}" } #工程的git地址
s.source_files = "Classes", "Classes/**/*.{h,m}" #工程需要引入的文件
s.exclude_files = "Classes/Exclude" #工程不需要引入的文件
s.public_header_files = "Classes/**/*.h" #工程需要暴露出来的头文件
s.resources = "Resources/*" #工程需要引入的资源文件(图片,xib等)
s.resource_bundles = {'Resources' => 'XXX.framework/Resources/XXX.bundle'} #工程需要引入的bundle
s.frameworks = "ImageIO" #工程依赖的framework
s.vendored_frameworks = [] #工程依赖的第三方framework
s.libraries = "iconv", "xml2" #工程依赖的library
s.vendored_libraries = [] #工程依赖第三方的library
s.requires_arc = true #工程是否用arc规则
s.dependency "AFNetworking", "~> 4.0.1" #工程依赖的第三方库
podspec文件格式说明
最新推荐文章于 2024-07-22 12:20:03 发布