LoginSignup
3
3

More than 5 years have passed since last update.

Travis-ciのCocoapodsで古いバージョン(0.39.0)を使う(暫定処理)

Last updated at Posted at 2016-08-17

前提

Githubで運用しているプロジェクトのPodfileがレガシーでTravis上のCocoapods(1.0.1)だとエラーが発生してCIできない

対応

.travis.yml を以下の要に変更

travis.yml
language: objective-c
osx_image: xcode7.3

cache:
  - bundler
  - cocoapods

before_install:
  - gem uninstall cocoapods -a
  - gem install cocoapods -v 0.39.0

script:
  - pod install
  
  
  

いったんアンインストールして、インストールし直すというパワープレイで回避。
pod initで作り直したらそもそもXcodeのビルドエラーになったので、のちのち対応する><

謝辞

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3