Join us on the demo, while our product experts provide a detailed walkthrough of our enterprise platform.


The latest news in the world of engineering.

Identity and Access Management (IAM), including security and customer experience.

Visit Blog

Grow your business to millions.Engage and retain your customers.

Visit Blog

Cocoapods : What It Is And How To Install?

Cocoapod is a package dependency manager for Objective-C and Swift projects with XCode. Those Languages are used to make applications that run iOS, macOS…

Thompson Sanjoto
Thompson Sanjoto
September 06, 2017
1 min read

Free, Secure and Trusted Way to Authenticate Your Visitors

Add login to your website in 5 minutes completely for free!

Free Sign UpNo hidden costs. No credit card needed.

Cocoapod is a package dependency manager for Objective-C and Swift projects with XCode. Those Languages are used to make applications that run iOS, macOS, watchOS and tvOS. Cocoapods also acts as a coding hub to share your code with other people. That way we as a community of coders don’t have to “re-invent the wheel” to tackle problems that have already been solved.

Installing Cocoapods

Cocoapods is built on top of Ruby, so you would need to install that in your system before using Cocoapods.
Then, you can install using this command:
sudo gem install cocoapods

Using Cocoapods

Open Terminal and go to your XCode project directory.
Afterwards, run this command:
pod init

Then a Podfile is generated, configure the file, like so:

platform :ios, '8.0'  
target 'MyApp' do  
 pod 'AFNetworking', '~> 2.6'   pod 'ORStackView', '~> 3.0'  
 pod 'SwiftyJSON', '~> 2.3'

Where ‘MyApp’ is your application project and the ‘pod’ inside it are the libraries that you want to use! If you need to control which version of those libraries you can manipulate it on the right side of the config.

Updating Cocoapods

If you want to keep up to date with the codes shared in cocoapods you can run the command:
pod update

That way any latest bug fixes, enhancement and features on the new version will be downloaded!
To see which Libraries that you want to utilize, head over to and search over there!

Personal favorites pods

For Managing Databases in iOS application

For All of your Networking Needs

For Simplified UI and Forms

And of course our:
For our API Calls to Manage your Login System

LoginRadius Docs

Implement Authentication in Minutes

click here

Most Popular Tags


Do you want a free authentication solution?

Add the world's most secure, reliable and easy to implement user authentication solution on your applications at $0Get Started Free

Thompson Sanjoto

Thompson Sanjoto

I’m a Software Engineer, I can do backend, frontend, networking, and mobile. Born and raised at Jakarta, Indonesia and went to pursue a Computer Science Degree at the University of British Columbia. Now I’m in Vancouver, BC with LoginRadius.

View Profile

Try a Modern Authentication Solution

$0/ month

Free Sign Up
  • 7,000 Monthly Active Users
  • 1 Web or Mobile App
  • Email/Password Login
  • 3 Social Login Providers
  • User Data Storage
  • Transactional Email Template
  • Customizable Login Interfaces