Hello Everyone!!!
In this tutorial, we are going to install cocoa pods to use them in our project.
In this tutorial, we are going to install cocoa pods to use them in our project.
Intro
Cocoa Pods are basically providing readymade external libraries coded with ruby. They are used only with Apple Platforms. They are created in Ruby language and used in Swift & Obj-C programming language.
For More Info, Visit Official Site - COCOA PODS
Get Started
Open Terminal -> Keyboard Shortcut (CTRL + ALT + T). When the terminal gets open, don't change the directory, to avoid errors later on.
How To Install?
For installing cocoa pods, we need to be a SUPERUSER. So, we are using the SUDO command to install the cocoa pods.
DCs-MacBook-Air:~ Dhanraj$ sudo gem install cocoapods
After typing this command, it will ask you to provide the Admin Device Password.
Enter the admin device password. It won't show any character or text fields, because of password protection. Your account should be the main admin account to install the cocoa pods. If you have another account, then it will show an error. So, use the Administrator Account to install the cocoa pods.
If you like this post, please share to new programmers, coders to encourage them to code.
Comments
Post a Comment