alloy/cocoapods — Issue #53: Oh no, an error occured
Author: sunatmidnight
Created: 2011-11-11 09:27:58+00:00
State: open

Hello,

I followed every step as outlined in the readme (including the same Podfile) for testing. But in pod install App.xcodeproj I get an error. Here is the --verbose output of my second run, as proposed in the error message:

pod install App.xcodeproj --verbose
Installing dependencies of: /Users/net/Desktop/ThrowAways/co/Podfile
==> Installing: `JSONKit' version `1.4'
* Skipping download of `JSONKit' version `1.4', pod already downloaded
==> Installing: `Reachability' version `2.0.4'
* Skipping download of `ASIHTTPRequest' version `1.8.1', pod already downloaded
==> Generating Xcode project and xcconfig
* Copying contents of template directory `/Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/Gems/1.9.2/gems/cocoapods-0.2.0/xcode-project-templates/cocoa-touch-static-library' to `/Users/net/Desktop/ThrowAways/co/Pods'
* Writing Xcode project file to `/Users/net/Desktop/ThrowAways/co/Pods/Pods.xcodeproj'
Oh no, an error occurred. Please run with `--verbose' and report on https://github.com/alloy/cocoapods/issues.

undefined method `[]' for nil:NilClass
/Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/Gems/1.9.2/gems/cocoapods-0.2.0/lib/cocoapods/xcode/project.rb:279:in `objects'
/Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/Gems/1.9.2/gems/cocoapods-0.2.0/lib/cocoapods/xcode/project.rb:302:in `files'
/Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/Gems/1.9.2/gems/cocoapods-0.2.0/lib/cocoapods/installer.rb:114:in `configure_project:'
/Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/Gems/1.9.2/gems/cocoapods-0.2.0/lib/cocoapods/command/install.rb:46:in `run'
/Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/Gems/1.9.2/gems/cocoapods-0.2.0/lib/cocoapods/command.rb:51:in `run:'
/Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/Gems/1.9.2/gems/cocoapods-0.2.0/bin/pod:9:in `

'
/usr/bin/pod:19:in `

'

Any ideas?

Regards,
sunatmidnight