When you install a new version of cocoapods, the old one is not removed unless you explicitly uninstall it with
gem uninstall cocoapods
and select the version to remove.
You can use old versions by specifying the version number enclosed in underscores in the command, for example:
pod _0.38.2_ install
Starting November 11, 2016, the repo wizard is incompatible with the old version, and if you did not correctly update your subfile (replaced source "https://github.com/CocoaPods/Specs.git" with source "https://github.com/CocoaPods/Old-Specs" or just adding the last one) you will see an error when using version 0.x cocoapods:
"[!] The master repo requires CocoaPods 1.0.0 - (currently using 0.38.2)"
Information on how and why here .
source share