N
Velvet Digest

How do I uninstall Cocoapods?

Author

Christopher Harper

Updated on April 08, 2026

Control Panel > System > Environment Varables > remove any paths in the PATH environment variable that have installations of Ruby. Control Panel > Programs and Features > Uninstall any Ruby Installer apps listed. Version 1.9.x or before: Don't use the Control Panel > Programs and Features > Uninstall option.

.

Keeping this in view, how do I completely remove Cocoapods?

If you want to remove the Cocoapods from a single project, go to the project folder with the terminal and type : pod deintegrate. pod clean.

Now to remove completely the gem type :

  1. gem uninstall cocoapods.
  2. gem uninstall cocoapods-deintegrate.
  3. gem uninstall cocoapods-downloader.

Likewise, how do I delete a specific pod on a project? 4 Answers. Once you did that, run pod update and it will remove nyximagekit from your project. Remove the pod from your podfile, then run pod install again. Just remove that pod line that you want to remove and run pod update !

Simply so, how do I remove an installed pod?

  1. The first thing that you will need to do is remove the Podfile , Podfile. lock , the Pods folder, and the generated workspace.
  2. Next, in the . xcodeproj , remove the references to the Pods.
  3. Within the Build Phases project tab, delete the Check Pods Manifest.
  4. Remove Pods.

What is the use of Cocoapods?

CocoaPods is a tool that makes managing your project much simpler. It can save you a lot of effort and time when dealing with dependencies in your project as it makes adding, removing and updating libraries that much easier. For more on using and troubleshooting CocoaPods, check out the CocoaPods guides.

Related Question Answers

How do you check if Cocoapods is installed?

Solution found: Initially the Cocoapods has to be installed using the command sudo gem install cocoapods (I had some problem with proxies so it dint work for me initially and i resolved it). To find if Cocoapods is installed or not run cmd (pod --version). if theresult is (Not Found) Pods is not installed.

Where is Cocoapods installed?

Type -> cd projectname and hit Enter. This basically changes your directory to the XCode project folder. Now you're inside the XCode project folder. This is the place where you want to install cocoapods to your XCode project.

How do I remove CocoaPods from my Mac?

Follow these steps to remove CocoaPods from Xcode Project.
  1. Open terminal on your Mac. In terminal navigate to your Xcode Project directory with cd.
  2. In terminal type: sudo gem install cocoapods-deintegrate cocoapods-clean.
  3. In terminal type: pod deintegrate.
  4. In terminal type: pod clean.
  5. In terminal type: rm Podfile.

How do you downgrade CocoaPods?

6 Answers. Actually, you don't need to downgrade – if you need to use older version in some projects, just specify the version that you need to use after pod command. Then when you want to delete a version, specify that version. You could remove the version specifier -v 1.6.

How do I know what version of CocoaPods I have?

Open only with XCode. Now if you want to get specific version of Pod present in Podfile then simply use command pod install in terminal. This will show list of pod being used in project along with version.

How do I update my CocoaPods?

If you need to update CocoaPods to a newer version later on, you can just run sudo gem install cocoapods again. CocoaPods will tell you when a new version is available, if you run any of its commands. It's a good idea to keep CocoaPods up-to-date, especially around new Xcode releases.

How do I delete a library from pod?

Remove lib from Podfile, then pod install again. Remove pod name from Podfile then Open Terminal, set project folder path and Run pod update command. NOTE: pod update will update all the libraries to the latest version and will also remove those libraries whose name have been removed from podfile.

How do you remove pod from Kubernetes?

First, confirm the name of the node you want to remove using kubectl get nodes , and make sure that all of the pods on the node can be safely terminated without any special procedures. Next, use the kubectl drain command to evict all user pods from the node.

How do I undo a pod update?

You can go through the version changes in the pod install 's output and rewrite your podfile with the desired versions. and run pod update again. In such a case, close Xcode , delete your podfile and run pod install again. The best way is to remove the pods directory from your project and update and install it again.

How do I update my pods?

Cocoapods are really easy to update. You should open your terminal and go to your project file with “cd” command. command to update your pods by name.

What does POD repo update do?

cocoapods-repo-update is a CocoaPods plugin that checks your dependencies when you run pod install and updates the local specs repositories if needed.

How do you install pods?

Simple Steps to installed pod file:
  1. Open terminal 2.
  2. set your project path on terminal.
  3. command : pod init.
  4. go to pod file of your project and adding pod which you want to install.
  5. added in pod file : pod 'AFNetworking', '~> 3.0.
  6. Command : Pod install.
  7. Close project of Xcode.
  8. open your Project from terminals.

How do I install Cocoapods Xcode?

  1. Open Terminal.
  2. Enter $ sudo gem install cocoapods command in terminal.
  3. Create new Xcode project.
  4. Navigate to directory containing Xcode project. Use cd “../directory-location/..” or cd [drag-and-drop project folder]
  5. Pod install.

Is CocoaPods safe?

Open source Pods: CocoaPods uses git under the hood to download code from code hosting services like GitHub. The git:// protocol uses ssh:// , which is similarly encrypted to HTTPS. In general, if you use CocoaPods to install open source SDKs from GitHub, you're pretty safe.

How do you use CocoaPods?

CocoaPods is used to install and manage dependencies in existing Xcode projects.
  1. Create an Xcode project, and save it to your local machine.
  2. Create a file named Podfile in your project directory.
  3. Open Podfile , and add your dependencies.
  4. Save the file.
  5. Open a terminal and cd to the directory containing the Podfile.

How do you initialize CocoaPods?

To create a new project with CocoaPods, follow these simple steps:
  1. Create a new project in Xcode as you would normally.
  2. Open a terminal window, and $ cd into your project directory.
  3. Create a Podfile. This can be done by running $ pod init .
  4. Open your Podfile.

What is POD Xcode?

Cocoapods is an application level dependency manager that runs on objective-c, swift, and any other programming languages that run on Objective-C. It focuses on source-based distribution of third party code and allows automatic integration to your Xcode projects.

What is Alamofire?

Alamofire is a Swift-based HTTP networking library for iOS and macOS. It provides an elegant interface on top of Apple's Foundation networking stack that simplifies a number of common networking tasks.

Where is POD file in Xcode?

The Podfile is located in the root of the Pods project. An easy way to open it is via "Open Quickly" (Shift Cmd O) typing Podfile. If it's been added to the project, you can just click on it. Otherwise, open it using the File menu or drag its icon on top of Xcode's.