File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ layout : post
3+ title : How to set Cocoapods to a version
4+ date : 2025-08-19 15:49:57
5+ excerpt : How to install and uninstall Cocoapods so you set Cocoapods to a specific version on Mac.
6+ categories : cocoapods
7+ ---
8+
9+ This post goes over how to set Cocoapods to a specific version:
10+
11+ - [ List] ( #list )
12+ - [ Install] ( #install )
13+ - [ Uninstall] ( #uninstall )
14+
15+ ## List
16+
17+ Display Cocoapods version:
18+
19+ ``` sh
20+ pod --version
21+ ```
22+
23+ Check if you have multiple versions of Cocoapods installed:
24+
25+ ``` sh
26+ gem list cocoapods
27+ ```
28+
29+ If you see something like:
30+
31+ ```
32+ *** LOCAL GEMS ***
33+
34+ cocoapods (1.16.2, 1.14.3, 1.11.3)
35+ ```
36+
37+ Then you might want to [ delete] ( #uninstall ) the other versions.
38+
39+ ## Install
40+
41+ Install Cocoapods version ` 1.14.3 ` :
42+
43+ ``` sh
44+ sudo gem install cocoapods -v 1.14.3
45+ ```
46+
47+ ## Uninstall
48+
49+ Uninstall Cocoapods version:
50+
51+ ``` sh
52+ sudo gem uninstall cocoapods
53+ ```
You can’t perform that action at this time.
0 commit comments