美文网首页
CocoaPods Podfile 详细说明

CocoaPods Podfile 详细说明

作者: 1bbd58ccbdb5 | 来源:发表于2016-06-23 15:52 被阅读0次

链接到本地的仓库 , example:

pod'Alamofire',:path=>'~/Documents/Alamofire'

指定分支 pod

主分支

pod 'Alamofire', :git => 'https://github.com/Alamofire/Alamofire.git'

dev 分支

pod'Alamofire',:git=>'https://github.com/Alamofire/Alamofire.git',:branch => 'dev'

tag of repo

pod'Alamofire',:git=>'https://github.com/Alamofire/Alamofire.git', tag => '3.1.1'

某次提交

pod'Alamofire',:git=>'https://github.com/Alamofire/Alamofire.git',:commit=>'0f506b1c45'

Podfile 文件参数说明

install! 定义安装时候进行操作的选项

:clean 安装的时候清理

:deduplicate_targets 

:deterministic_uuids

:integrate_targets

:lock_pod_sources

:share_schemes_for_development_pods

Dependencies

pod : 定义一个详细的依赖

podspec

相关文章

网友评论

      本文标题:CocoaPods Podfile 详细说明

      本文链接:https://www.haomeiwen.com/subject/zhtodttx.html