# Cocoapods for contacts problem

**URL:** <https://forums.kodeco.com/t/cocoapods-for-contacts-problem/10793>\
**Category:** iOS\
**Created:** [March 23, 2016, 11:31am UTC](https://forums.kodeco.com/t/cocoapods-for-contacts-problem/10793 "2016-03-23T11:31:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![donpaul](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/donpaul/32/11016_2.png) [@donpaul](https://forums.kodeco.com/u/donpaul)\
**Post date:** [March 23, 2016, 11:31am UTC](https://forums.kodeco.com/t/cocoapods-for-contacts-problem/10793/1 "2016-03-23T11:31:10Z")

</div>

i just add coco pod for picking contact from address book…  
but not able add…  
if some one now …  
pleasss help me…!

---

<div class="post-metadata">

**Author:** ![narrativium](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/narrativium/32/110937_2.png) [@narrativium](https://forums.kodeco.com/u/narrativium)\
**Post date:** [March 23, 2016, 1:00pm UTC](https://forums.kodeco.com/t/cocoapods-for-contacts-problem/10793/2 "2016-03-23T13:00:29Z")

</div>

Please clarify: are you having a problem installing Cocoapods into your project, or this pod in particular? Or is this a problem with trying to add a contact?  
Which Cocoapod is it?

---

<div class="post-metadata">

**Author:** ![vaibhavdev](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/vaibhavdev/32/40692_2.png) [@vaibhavdev](https://forums.kodeco.com/u/vaibhavdev)\
**Post date:** [May 30, 2016, 5:31am UTC](https://forums.kodeco.com/t/cocoapods-for-contacts-problem/10793/3 "2016-05-30T05:31:54Z")

</div>

Hello donpaul ,

just follow the below steps for COCOA PODS with an example .

1. Open terminal

2. sudo gem install cocoapods (gem will get installed in Ruby inside System library)

3. pod setup

4. create a xcode project

5. cd “path to your project root directory”

6. pod init

7. open -a Xcode Podfile (podfile will get open in text mode. Initially it will be empty put the following line of code.)

8. pod ‘AFNetworking’, ‘0.9.1’ (It’s finally time to add your first dependency using CocoaPods! Copy and paste the following into your pod file, right after target “AFNetworkingProject” do:)

DON’T do these after cocoa pod installation .

1.don’t open Xcode file . open the file named with workspace.  
2.close Xcode before creating a pod file .
