Skip to content

Instantly share code, notes, and snippets.

@y-ken
Last active August 29, 2015 14:06
Show Gist options
  • Save y-ken/9ff3e9c517c69fd9f275 to your computer and use it in GitHub Desktop.
Save y-ken/9ff3e9c517c69fd9f275 to your computer and use it in GitHub Desktop.
iOSアプリ開発の処方箋 : Unable to find a specification for `AFNetworking (~> 2.0)`. ref: http://qiita.com/y-ken/items/2e4c3fed1d29e8f5d6ba
$ rake
================================================================================
A new version of RubyMotion is available. Run `sudo motion update' to upgrade.
================================================================================
rake aborted!
Pod::Informative: [!] Unable to find a specification for `AFNetworking (~> 2.0)`.
/Users/y-ken/Documents/htdocs/motion-octofeed/vendor/bundle/ruby/2.1.0/gems/cocoapods-0.23.0/lib/cocoapods/resolver.rb:195:in `find_cached_set'
/Users/y-ken/Documents/htdocs/motion-octofeed/vendor/bundle/ruby/2.1.0/gems/cocoapods-0.23.0/lib/cocoapods/resolver.rb:153:in `block (2 levels) in find_dependency_specs'
...snip...
$ pod
pod2html pod2latex pod2man pod2readme pod2text pod2usage podchecker podselect
pod2html5.12 pod2latex5.12 pod2man5.12 pod2readme5.12 pod2text5.12 pod2usage5.12 podchecker5.12 podselect5.12
pod2html5.16 pod2latex5.16 pod2man5.16 pod2readme5.16 pod2text5.16 pod2usage5.16 podchecker5.16 podselect5.16
$ pod setup
-bash: pod: command not found
$ gem install cocoapods
Fetching: i18n-0.7.0.beta1.gem (100%)
Successfully installed i18n-0.7.0.beta1
Fetching: multi_json-1.10.1.gem (100%)
Successfully installed multi_json-1.10.1
Fetching: activesupport-3.2.19.gem (100%)
Successfully installed activesupport-3.2.19
Fetching: nap-0.8.0.gem (100%)
Successfully installed nap-0.8.0
Fetching: json_pure-1.8.1.gem (100%)
Successfully installed json_pure-1.8.1
Fetching: fuzzy_match-2.0.4.gem (100%)
Successfully installed fuzzy_match-2.0.4
Fetching: cocoapods-core-0.33.1.gem (100%)
Successfully installed cocoapods-core-0.33.1
Fetching: claide-0.6.1.gem (100%)
Successfully installed claide-0.6.1
Fetching: colored-1.2.gem (100%)
Successfully installed colored-1.2
Fetching: xcodeproj-0.17.0.gem (100%)
Building native extensions. This could take a while...
Successfully installed xcodeproj-0.17.0
Fetching: cocoapods-downloader-0.6.1.gem (100%)
Successfully installed cocoapods-downloader-0.6.1
Fetching: cocoapods-plugins-0.2.0.gem (100%)
Successfully installed cocoapods-plugins-0.2.0
Fetching: cocoapods-try-0.3.0.gem (100%)
Successfully installed cocoapods-try-0.3.0
Fetching: netrc-0.7.7.gem (100%)
Successfully installed netrc-0.7.7
Fetching: cocoapods-trunk-0.1.4.gem (100%)
Successfully installed cocoapods-trunk-0.1.4
Fetching: escape-0.0.4.gem (100%)
Successfully installed escape-0.0.4
Fetching: open4-1.3.4.gem (100%)
Successfully installed open4-1.3.4
Fetching: cocoapods-0.33.1.gem (100%)
CHANGELOG:
## 0.33.1
##### Bug Fixes
* Fix `pod spec lint` for `json` podspecs.
[Fabio Pelosin][irrationalfab]
[#2157](https://github.com/CocoaPods/CocoaPods/issues/2157)
* Fixed downloader issues related to `json` podspecs.
[Fabio Pelosin][irrationalfab]
[#2158](https://github.com/CocoaPods/CocoaPods/issues/2158)
* Fixed `--no-ansi` flag in help banners.
[Fabio Pelosin][irrationalfab]
[#34](https://github.com/CocoaPods/CLAide/issues/34)
Successfully installed cocoapods-0.33.1
18 gems installed
# 動作確認を兼ねてバージョンを確認
$ pod --version
0.33.1
$ pod setup
Setting up CocoaPods master repo
Setup completed (read-only access)
Pod::Informative: [!] The `master` repo requires CocoaPods 0.32.1 -
$ gem install cocoapods -v 0.32.1
$ rm Gemfile.lock
$ bundle install --path vendor/bundle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment