美文网首页
【iOS开发】cocoaPod 常用命令

【iOS开发】cocoaPod 常用命令

作者: xiacheng | 来源:发表于2016-12-28 15:16 被阅读53次
    + cache         Manipulate the CocoaPods cache 管理缓存
    + deintegrate   Deintegrate CocoaPods from your project
    + env           Display pod environment     显示 pod 环境
    + init          Generate a Podfile for the current directory 在当前文件夹生成一个podfile
    + install       Install project dependencies according to versions from a  Podfile.lock
根据podfile.lock 来生成依赖
    + ipc           Inter-process communication
    + lib           Develop pods
    + list          List pods
列出pods,只使用list列出所有可用的pod
    + outdated      Show outdated project dependencies
显示可以更新的依赖
    + plugins       Show available CocoaPods plugins
    + repo          Manage spec-repositories
管理spec-repositories
    + search        Search for pods
搜索pod
    + setup         Setup the CocoaPods environment
设置cocoaPods  环境
    + spec          Manage pod specs
管理 spec
    + trunk         Interact with the CocoaPods API (e.g. publishing new specs)
    + try           Try a Pod!
    + update        Update outdated project dependencies and create new Podfile.lock
更新依赖

Options:

    --silent        Show nothing
    --version       Show the version of the tool
    --verbose       Show more debugging information
    --no-ansi       Show output without ANSI codes
    --help          Show help banner of specified command

相关文章

网友评论

      本文标题:【iOS开发】cocoaPod 常用命令

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