In most places, the command uses --pre
, but on http://blog.cocoapods.org/Pod-Authors-Guide-to-CocoaPods-Frameworks/ , it says --prerelease
Also -
I tried both, but I still seem to be on 0.35 rather than 0.36 as I'd expected.
$ pod install
Analyzing dependencies
CocoaPods 0.36.0.rc.1 is available.
To update use: `sudo gem install cocoapods --pre`
[!] This is a test version we'd love you to try.
For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.
Downloading dependencies
Installing [a pod]
Generating Pods project
Integrating client project
[!] From now on use `[MyProjectName].xcworkspace`.
[MyMBP]:[MyProjectName] $ openx .
-bash: openx: command not found
[MyMBP]:[MyProjectName] $ ls
[MyProjectName] [MyProjectName].xcodeproj [MyProjectName].xcworkspace [MyProjectName]Tests Podfile Podfile.lock Pods
[MyMBP]:[MyProjectName] $ open [MyProjectName].xcworkspace/
[MyMBP]:[MyProjectName] $ gem install cocoapods --pre
Fetching: molinillo-0.2.1.gem (100%)
Successfully installed molinillo-0.2.1
Fetching: cocoapods-trunk-0.5.1.gem (100%)
Successfully installed cocoapods-trunk-0.5.1
Fetching: cocoapods-plugins-0.4.1.gem (100%)
Successfully installed cocoapods-plugins-0.4.1
Fetching: xcodeproj-0.22.0.gem (100%)
Successfully installed xcodeproj-0.22.0
Fetching: claide-0.8.1.gem (100%)
Successfully installed claide-0.8.1
Fetching: cocoapods-core-0.36.0.rc.1.gem (100%)
Successfully installed cocoapods-core-0.36.0.rc.1
Fetching: cocoapods-0.36.0.rc.1.gem (100%)
Successfully installed cocoapods-0.36.0.rc.1
Parsing documentation for molinillo-0.2.1
Installing ri documentation for molinillo-0.2.1
Parsing documentation for cocoapods-trunk-0.5.1
Installing ri documentation for cocoapods-trunk-0.5.1
Parsing documentation for cocoapods-plugins-0.4.1
Installing ri documentation for cocoapods-plugins-0.4.1
Parsing documentation for xcodeproj-0.22.0
Installing ri documentation for xcodeproj-0.22.0
Parsing documentation for claide-0.8.1
Installing ri documentation for claide-0.8.1
Parsing documentation for cocoapods-core-0.36.0.rc.1
Installing ri documentation for cocoapods-core-0.36.0.rc.1
Parsing documentation for cocoapods-0.36.0.rc.1
Installing ri documentation for cocoapods-0.36.0.rc.1
Done installing documentation for molinillo, cocoapods-trunk, cocoapods-plugins, xcodeproj, claide, cocoapods-core, cocoapods after 5 seconds
7 gems installed
[MyMBP]:[MyProjectName] $ pod --version
0.35.0
[MyMBP]:[MyProjectName] $ pod install
Analyzing dependencies
CocoaPods 0.36.0.rc.1 is available.
To update use: `sudo gem install cocoapods --pre`
[!] This is a test version we'd love you to try.
For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.
Downloading dependencies
Using [a pod]
Generating Pods project
Integrating client project
[MyMBP]:[MyProjectName] $ sudo gem install cocoapods --pre
Password:
Fetching: nap-0.8.0.gem (100%)
Successfully installed nap-0.8.0
Fetching: thread_safe-0.3.4.gem (100%)
Successfully installed thread_safe-0.3.4
Fetching: tzinfo-1.2.2.gem (100%)
Successfully installed tzinfo-1.2.2
Fetching: i18n-0.7.0.gem (100%)
Successfully installed i18n-0.7.0
Fetching: activesupport-4.2.0.gem (100%)
Successfully installed activesupport-4.2.0
Fetching: open4-1.3.4.gem (100%)
Successfully installed open4-1.3.4
Fetching: escape-0.0.4.gem (100%)
Successfully installed escape-0.0.4
Fetching: colored-1.2.gem (100%)
Successfully installed colored-1.2
Fetching: molinillo-0.2.1.gem (100%)
Successfully installed molinillo-0.2.1
Fetching: netrc-0.7.8.gem (100%)
Successfully installed netrc-0.7.8
Fetching: cocoapods-trunk-0.5.1.gem (100%)
Successfully installed cocoapods-trunk-0.5.1
Fetching: cocoapods-try-0.4.3.gem (100%)
Successfully installed cocoapods-try-0.4.3
Fetching: cocoapods-plugins-0.4.1.gem (100%)
Successfully installed cocoapods-plugins-0.4.1
Fetching: cocoapods-downloader-0.8.1.gem (100%)
Successfully installed cocoapods-downloader-0.8.1
Fetching: xcodeproj-0.22.0.gem (100%)
Successfully installed xcodeproj-0.22.0
Fetching: claide-0.8.1.gem (100%)
Successfully installed claide-0.8.1
Fetching: fuzzy_match-2.0.4.gem (100%)
Successfully installed fuzzy_match-2.0.4
Fetching: cocoapods-core-0.36.0.rc.1.gem (100%)
Successfully installed cocoapods-core-0.36.0.rc.1
Fetching: cocoapods-0.36.0.rc.1.gem (100%)
Successfully installed cocoapods-0.36.0.rc.1
Parsing documentation for nap-0.8.0
Installing ri documentation for nap-0.8.0
Parsing documentation for thread_safe-0.3.4
Installing ri documentation for thread_safe-0.3.4
Parsing documentation for tzinfo-1.2.2
Installing ri documentation for tzinfo-1.2.2
Parsing documentation for i18n-0.7.0
Installing ri documentation for i18n-0.7.0
Parsing documentation for activesupport-4.2.0
Installing ri documentation for activesupport-4.2.0
Parsing documentation for open4-1.3.4
Installing ri documentation for open4-1.3.4
Parsing documentation for escape-0.0.4
Installing ri documentation for escape-0.0.4
Parsing documentation for colored-1.2
Installing ri documentation for colored-1.2
Parsing documentation for molinillo-0.2.1
Installing ri documentation for molinillo-0.2.1
Parsing documentation for netrc-0.7.8
Installing ri documentation for netrc-0.7.8
Parsing documentation for cocoapods-trunk-0.5.1
Installing ri documentation for cocoapods-trunk-0.5.1
Parsing documentation for cocoapods-try-0.4.3
Installing ri documentation for cocoapods-try-0.4.3
Parsing documentation for cocoapods-plugins-0.4.1
Installing ri documentation for cocoapods-plugins-0.4.1
Parsing documentation for cocoapods-downloader-0.8.1
Installing ri documentation for cocoapods-downloader-0.8.1
Parsing documentation for xcodeproj-0.22.0
Installing ri documentation for xcodeproj-0.22.0
Parsing documentation for claide-0.8.1
Installing ri documentation for claide-0.8.1
Parsing documentation for fuzzy_match-2.0.4
Installing ri documentation for fuzzy_match-2.0.4
Parsing documentation for cocoapods-core-0.36.0.rc.1
Installing ri documentation for cocoapods-core-0.36.0.rc.1
Parsing documentation for cocoapods-0.36.0.rc.1
Installing ri documentation for cocoapods-0.36.0.rc.1
Done installing documentation for nap, thread_safe, tzinfo, i18n, activesupport, open4, escape, colored, molinillo, netrc, cocoapods-trunk, cocoapods-try, cocoapods-plugins, cocoapods-downloader, xcodeproj, claide, fuzzy_match, cocoapods-core, cocoapods after 10 seconds
19 gems installed
[MyMBP]:[MyProjectName] $ pod install
Analyzing dependencies
CocoaPods 0.36.0.rc.1 is available.
To update use: `sudo gem install cocoapods --pre`
[!] This is a test version we'd love you to try.
For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.
Downloading dependencies
Using [a pod]
Generating Pods project
Integrating client project
[MyMBP]:[MyProjectName] $ pod --version
0.35.0
[MyMBP]:[MyProjectName] $ sudo gem install cocoapods --prerelease
Successfully installed cocoapods-0.36.0.rc.1
Parsing documentation for cocoapods-0.36.0.rc.1
Done installing documentation for cocoapods after 1 seconds
1 gem installed
[MyMBP]:[MyProjectName] $ pod install
Analyzing dependencies
CocoaPods 0.36.0.rc.1 is available.
To update use: `sudo gem install cocoapods --pre`
[!] This is a test version we'd love you to try.
For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.
Downloading dependencies
Using [a pod]
Generating Pods project
Integrating client project
[MyMBP]:[MyProjectName] $ pod --version
0.35.0
[MyMBP]:[MyProjectName] $ gem install cocoapods --prerelease
Successfully installed cocoapods-0.36.0.rc.1
Parsing documentation for cocoapods-0.36.0.rc.1
Done installing documentation for cocoapods after 1 seconds
1 gem installed
[MyMBP]:[MyProjectName] $ pod --version
0.35.0
This means that the pod
binstub frontmost in your PATH is not the one you are updating. It is not a CP issue, but one with your local ruby setup.
sudo gem uninstall cocoapods
sudo gem install cocoapods --pre
( Other alternatives, if people are finding this, is to specify your pod version via pod _[version]_ install
e.g. pod _1.0.0.beta.8_ install
)
Most helpful comment