3
我試着在cocoapods項目上報告這個問題,但被指示在這裏發帖。我最近參加了一個項目,在那裏工作,而且我很難得到以前的顧問設置在我的本地工作站上運行。我能夠成功安裝的CocoaPods寶石,但是,當我運行pod install
它炸燬....cocoapods主動支持衝突ios開發
specification.rb:1990:in `raise_if_conflicts': Unable to activate xcodeproj-0.14.1, because activesupport-4.0.0.rc1 conflicts with activesupport (~> 3.0) (Gem::LoadError)
from /Users/chrishough/.rbenv/versions/2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/specification.rb:1163:in `activate'
from /Users/chrishough/.rbenv/versions/2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/specification.rb:1199:in `block in activate_dependencies'
from /Users/chrishough/.rbenv/versions/2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/specification.rb:1185:in `each'
from /Users/chrishough/.rbenv/versions/2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/specification.rb:1185:in `activate_dependencies'
from /Users/chrishough/.rbenv/versions/2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/specification.rb:1167:in `activate'
from /Users/chrishough/.rbenv/versions/2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_gem.rb:48:in `gem'
from /Users/chrishough/.rbenv/versions/2.0.0-p0/bin/pod:22:in `<main>'
我目前使用rbenv紅寶石2.0.0和Xcode的最新版本,git的,等等。我所有的紅寶石和鐵軌項目工作正常,但我對ios有點不高興。
想法?指針?
https://github.com/CocoaPods/CocoaPods/issues/1775https://github.com/CocoaPods/CocoaPods/issues/1762
它看起來像你的ruby環境中的gem依賴衝突。也許你可以嘗試安裝新版本的ruby w/rbenv,並只安裝cocoapods gem。或嘗試從當前版本的Ruby中卸載有問題的寶石。或者你可以嘗試使用bundler,然後運行'bundle exec pod install'。 –
@JimJeffers工作,看到下面的答案:) –