Ich folgte diesem Tutorial , um cocoapods
auf meinem MacBook (Mavericks 10.9.5) zu installieren.Kann Cocoapods nicht installieren, Bericht über Pod-Setup
ich erfolgreich eingesetzt haben diese Befehle
sudo gem update --system
sudo gem install cocoapods
Aber dann, wenn ich pod setup
verwenden bekomme ich dieses Protokoll
/Users/tommy/.rvm/gems/[email protected]/gems/xcodeproj-0.19.3/lib/xcodeproj/plist_helper.rb:140:in `<module:CoreFoundation>': uninitialized constant Fiddle::NULL (NameError)
from /Users/tommy/.rvm/gems/[email protected]/gems/xcodeproj-0.19.3/lib/xcodeproj/plist_helper.rb:70:in `<top (required)>'
from /usr/local/Cellar/ruby193/1.9.3-p545/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:69:in `require'
from /usr/local/Cellar/ruby193/1.9.3-p545/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:69:in `require'
from /Users/tommy/.rvm/gems/[email protected]/gems/xcodeproj-0.19.3/lib/xcodeproj/ext.rb:2:in `<top (required)>'
from /usr/local/Cellar/ruby193/1.9.3-p545/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:69:in `require'
from /usr/local/Cellar/ruby193/1.9.3-p545/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:69:in `require'
from /Users/tommy/.rvm/gems/[email protected]/gems/xcodeproj-0.19.3/lib/xcodeproj.rb:25:in `<top (required)>'
from /usr/local/Cellar/ruby193/1.9.3-p545/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:69:in `require'
from /usr/local/Cellar/ruby193/1.9.3-p545/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:69:in `require'
from /Users/tommy/.rvm/gems/[email protected]/gems/cocoapods-0.34.2/lib/cocoapods.rb:2:in `<top (required)>'
from /usr/local/Cellar/ruby193/1.9.3-p545/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:69:in `require'
from /usr/local/Cellar/ruby193/1.9.3-p545/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:69:in `require'
from /Users/tommy/.rvm/gems/[email protected]/gems/cocoapods-0.34.2/bin/pod:32:in `<top (required)>'
from /Users/tommy/.rvm/gems/[email protected]/bin/pod:23:in `load'
from /Users/tommy/.rvm/gems/[email protected]/bin/pod:23:in `<main>'
Es scheint auch, wenn ich pod install
eingeben.
Was soll ich tun? Vielen Dank im Voraus
Das war das Problem. Danke Mann – r4id4
Es ist auch erwähnenswert, dass xcodeproj 0.19.3 scheint gut zu Ruby 2.0.0 zu funktionieren, aber dieses Problem passierte auf Ruby 1.9.3-p448 (für mich sowieso). Sie können also auch versuchen, Ihre Ruby-Version zu aktualisieren/wechseln. – odlp