I am attempting to upgrade to Cocoapods 1.0.0 from the previous 0.39.x.
Several attempts all result in the following output, all with a significant amount of time spent with the build container just sitting there spinning! Seems like there’s some sort of cache that isn’t getting migrated forward to the new version of Cocoapods (?).
Anybody else hit this? Anybody else successfully using Cocoapods v1.0.0?
bundle exec pod install --verbose
Preparing
Setting up CocoaPods master repo
Cloning spec repo `master` from `https://github.com/CocoaPods/Specs.git` (branch `master`)
$ /usr/local/bin/git clone https://github.com/CocoaPods/Specs.git master
Cloning into 'master'...
command bundle exec pod install --verbose took more than 10 minutes since last output
I tried several different settings in circle.yml
, detailed here:
5/26/2016 : Issue upgrading to Cocoapods v1.0.0 on CircleCI
Chris, Software Engineer @ Bridj
------------------------------
Attempt 1: Naive
In circle.yml:
dependencies:
override:
- sudo gem install cocoapods --version=1.0.0
- pod install --verbose
cache_directories:
- "Pods/"
Result: failure
------------------------------
Attempt 2: With Gemfile
In circle.yml:
dependencies:
override:
- bundle exec pod install --verbose
cache_directories:
- "Pods/"
Gemfile:
source 'https://rubygems.org'
gem 'cocoapods', '1.0.0'
Result: failure
------------------------------
Attempt 3: With Gemfile, manually install bundler
In circle.yml:
dependencies:
override:
- sudo gem install bundler
- bundle install
- bundle exec pod install --verbose
cache_directories:
- "Pods/"
Gemfile:
source 'https://rubygems.org'
gem 'cocoapods', '1.0.0'
Result: failure