CocoaPods Podfile 详细说明

链接到本地的仓库 , 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

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • afinalAfinal是一个android的ioc,orm框架 https://github.com/yangf...
    passiontim阅读 15,489评论 2 45
  • 经常使用CocoaPods来管理iOS项目中的第三方库,但是我们要使用CocoaPods来管理第三方库,前提是要写...
    qitianjin阅读 1,389评论 2 0
  • 转载自:http://blog.csdn.net/qitianjin/article/details/517738...
    YYT1992阅读 2,671评论 0 0
  • 别丢掉 林徽因 这一把过往的热情, 现在流水似的, 轻轻 在幽冷的山泉底, 在黑夜,在松林, 叹息似的渺茫, 你仍...
    佳人得以欣阅读 173评论 0 0
  • 文/雍万萍 暮春依依无心走, 纯阳款款频招手。 难舍桃柳拂面意, 深情残红满阶留! 万绿丛中又添红, 千娇百媚各不...
    频彩阅读 322评论 0 3