How to call 'pod setup' with cocoapods 0.39

I am using cocoapods 0.39 and I get the error "1.0 required".

[!] The `master` repo requires CocoaPods 1.0.0 -  (currently using 0.39.0)
Update Cocoapods, or checkout the appropriate tag in the repo.

Error starting pod installation explains how to make a command pod install, but I can’t figure out how to get through successfully pod setup, it seems to have a new built-in repo

+4
source share
4 answers

if you need to run pod setupwith 0.39 instead: (cd ~/.cocoapods/repos && git clone https://github.com/CocoaPods/Specs.git && mv Specs master && cd master && git checkout v0.32.1)

to create, pod installfollow my link in the original post or look at the answer of Mereuta.

0
source

Here is some information about what happened. http://blog.cocoapods.org/Sharding/

Just replace the current source in your subpixel as follows:

https://github.com/CocoaPods/Old-Specs

pod install.

+4

:

sudo gem install cocoapods
+2
source

For other users who have faced the same problem, write the following command in the terminal

sudo gem install -n /usr/local/bin cocoapods
+1
source

Source: https://habr.com/ru/post/1660589/


All Articles