LoginSignup
0
0

More than 3 years have passed since last update.

BitriseのCocoaPods install stepでエラーが出て困った話

Last updated at Posted at 2019-07-05

こんなエラーが出た

/Users/vagrant/.rbenv/versions/2.5.3/lib/ruby/site_ruby/2.5.0/rubygems.rb:283:in `find_spec_for_exe': can't find gem cocoapods (= 1.x.x) with executable pod (Gem::GemNotFoundException)
    from /Users/vagrant/.rbenv/versions/2.5.3/lib/ruby/site_ruby/2.5.0/rubygems.rb:302:in `activate_bin_path'
    from /Users/vagrant/.rbenv/versions/2.5.3/bin/pod:23:in `<main>'

解決策

ググると、Cocoapodsを再インストールしろっていうのが出てくる。
Run CocoaPods Install ステップの前にScriptステップを差し込んで、再インストールしたら直った。

Bitrise Workflow.png

直ったので上のスクリプトはまた消しました。

0
0
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
0
0