How to add a Podfile in your Project

Posted by Sumeet Arora
6
Aug 6, 2015
182 Views
Image

Below is the step-wise process for integrating a Podfile easily in your Application.

  1. Open Terminal

  2. Change the directory in Terminal to the location where your Xcode project resides.

  3. When you reach to the desired project location in which you want to add a PodFile. You can create an empty file by using the command “touch Podfile”.

  4. Then by using “open Podfile” command you can open the file you have created before and then add the desired podfile to that and close the window.

  1. list of some Podfiles are shown below...
  2. -pod ‘AFNetworking’, ’0.9.1′
  3. -pod ’Facebook-iOS-SDK’
  4. -pod ’EGOTableViewPullRefresh’
  5. -pod ’JSONKit’
  6. -pod ‘MBProgressHUD’
  7. -pod ’Reachability’
  1. Now use “pod install” command to install the pod file in your project.

  2. The extension of our Xcode project integrated with podfile is “.xcworkspace”.

Thanx for Reading


FindNerd is a social platform for tech nerds to share knowledge by posting blogs, forums on web development along with job freelancing & project management feature.

Comments
avatar
Please sign in to add comment.