将框架添加到现有Cocoapods设置 [英] Adding framework to existing Cocoapods setup

查看:67
本文介绍了将框架添加到现有Cocoapods设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在一个使用Cocoapods的项目中工作。我找不到用于将框架添加到现有Cocoapods设置中的任何文档。我所能找到的都是有关如何从头开始设置Cocoapods的示例。

I am working with a project where Cocoapods is used. I am unable to find any documentation for adding a framework to an already existing Cocoapods setup. All I can find are example on how to setup Cocoapods from scratch.

有帮助吗?我想通过Cocoapods添加ABContactHelper。

Any help? I'd like to add ABContactHelper via Cocoapods.

谢谢!

推荐答案

只需将Pod添加到您的 Podfile 并再次运行 pod install

Just add the pod to your Podfile and run pod install again.

对于 ABContactHelper ,请执行以下操作:

For ABContactHelper, do:


  1. 编辑Podfile

  2. pod'ABContactHelper'添加到Podfile

  3. pod安装

  1. edit Podfile
  2. add pod 'ABContactHelper' to the Podfile
  3. pod install

这篇关于将框架添加到现有Cocoapods设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆