Install Cocoapods for Xcode Project

[1]. Install cocoapods

brew install cocoapods

[2]. Add pod to project 
Simple Steps to installed pod file:
Open terminal 2. ...
set your project path on terminal.
command : pod init.
go to pod file of your project and adding pod which you want to install.
added in pod file : pod 'AFNetworking', '~> 3.0.
Command : pod install.
Close project of Xcode.
open your Project from terminals.

[3]. Some command with pod 

pod init: Initial Pod for project
pod install : Install dependency config for project.
pod update: Update  dependency.
pod outdated: Display dependency old, not updated.
pod deintegrate [XCODE_PROJECT]: Remove CocoaPods from Project, return config initial for Project. 

Comments

  1. good , i do flow guid & add cocoapods into my project success

    ReplyDelete

Post a Comment

Popular posts from this blog

Java : Variables Declaring

Install DNF in RHEL/CentOS 7

SQL Self JOIN