Setting Up CocoaPods! | Codementor
Maybe your like
Kody YoungFollow10+ years experience Programming, 5+ years Software Engineering w/ a B.S. in Computer Science, Expert iOS and Android Engineer!Setting up CocoaPods!Published Jul 13, 2021Last updated Nov 15, 2021In this post, I will discuss how to install CocoaPods in Xcode using MacOs Terminal!
- Let's start by opening an Xcode project!
- Next, click create a new Xcode project and select App.Click next.
![
- Now name the app Sample App. Hit next then create.
Installing Pods using MacOS Terminal.
- Open Terminal.
- If your Terminal is not set to use bash, copy this command
chsh -s /bin/bash
- In the terminal, type sudo gem install cocoapods
- Next, navigate to the folder where your project is stored. If you don’t know how, copy the following command line prompt into terminal according to your project file path
cd Documents/'Sample App'
- To ensurse you're in the right folder you can use the pwd command.
- Use the pod init command to create the Podfile.
- Once that is finished, a podfile will be created.
- Navigate to the project folder and open the Podfile.
Here, you'll be able to add the pod files you wish to use in your library!
FOLLOW MY INSTAGRAM FOLLOW MY GITHUB FOLLOW MY MUSIC
CocoapodsSwiftXcode#thirdpartylibrariesTerminalReportEnjoy this post? Give Kody Young a like if it's helpful.
Leave a like and comment for Kody
Tag » How To Open Podfile In Terminal
-
How Can I Open Podfile For Editing [closed] - Stack Overflow
-
Using CocoaPods
-
"how To Open "podfile Lock" Code Example
-
3 Ways To Open POD Files - File Magic
-
POD File Extension - What Is It? How To Open A POD File?
-
POD File Extension - What Is A .pod File And How Do I Open It?
-
Open POD File On Windows, Mac OS, Android
-
Proper Way Of Editing A CocoaPod Library | By Mihir Mehta - Medium
-
Open Podfile In Xcode From Terminal - Code Example
-
Tryin To POD Install After Add Firebase/Auth In Pod File But An Error ...
-
Tutorial Cocoapods - Gists · GitHub
-
GT IOS Club · Part 2 - Using CocoaPods
-
Mac Terminal - How To Install And Add Pods - YouTube
-
How Do I Install CocoaPods? - Top Questions And Answers