Cocoapods
Adding a library with Cocoapods.
Cocoapods
Adding a library with Cocoapods.
0
0
Checkbox to mark video as read
Mark as read

Cocoapods was the most commonly used tool for installing external libraries before the introduction of Swift Package Manager. This means it is very likely to find it in older projects, so this article may be helpful for you, however we recommend to use SPM when possible.

Installing Cocoapods

To use Cocoapods, we need to install it on our Mac. To do this, simply run the following command in the terminal:

sudo gem install cocoapods

Initializing Cocoapods in Our Project

Once installed, we need to initialize it in our project. In the terminal, navigate to the root folder of your Xcode's project and run the following command:

pod init

Continue reading

Access to all the content with our plans.

Basic Plan

FREE

Start Now
  • Junior level content
  • Senior level content
  • Expert level content
  • Extra content
  • Question submissions
Monthly
Yearly

Plan logo

-

Unlimited access to the whole content

  • Junior level content
  • Senior level content
  • Expert level content
  • Extra content
  • Question submissions

Stripe secure payment methods
Plan logo

-

Unlimited access to the whole content

  • Junior level content
  • Senior level content
  • Expert level content
  • Extra content
  • Question submissions

Stripe secure payment methods
Plan logo

-

Solve your doubts at any level

  • Junior level content
  • Senior level content
  • Expert level content
  • Extra content
  • 2 Question submissions per week

Stripe secure payment methods
Plan logo

-

Solve your doubts at any level

  • Junior level content
  • Senior level content
  • Expert level content
  • Extra content
  • 2 Question submissions per week

Stripe secure payment methods

0 Comments

Join the community to comment
Sign Up
I have an account
Be the first to comment

Accept Cookies

We use cookies to collect and analyze information on site performance and usage, in order to provide you with better service.

Check our Privacy Policy