CocoaPods/CocoaPods — Issue #126: Error when running pod install [project]
Author: maikg
Created: 2012-02-17 14:13:24+00:00
State: open

I uninstalled all my gems and installed just the cocoapods gem. I now get the following error at the "Generating support files" phase when running `pod install [project].xcodeproj`:

```
undefined method `framework' for main:Object
/Users/maikgosenshuis/.rvm/gems/ruby-1.9.3-p125@global/gems/xcodeproj-0.0.2/lib/xcodeproj/project.rb:1:in `'
/Users/maikgosenshuis/.rvm/gems/ruby-1.9.3-p125@global/gems/cocoapods-0.3.10/lib/cocoapods/xcodeproj_ext.rb:4:in `'
/Users/maikgosenshuis/.rvm/gems/ruby-1.9.3-p125@global/gems/cocoapods-0.3.10/lib/cocoapods/xcodeproj_ext.rb:3:in `'
/Users/maikgosenshuis/.rvm/gems/ruby-1.9.3-p125@global/gems/cocoapods-0.3.10/lib/cocoapods/installer.rb:34:in `project'
/Users/maikgosenshuis/.rvm/gems/ruby-1.9.3-p125@global/gems/cocoapods-0.3.10/lib/cocoapods/installer.rb:52:in `block in target_installers'
/Users/maikgosenshuis/.rvm/gems/ruby-1.9.3-p125@global/gems/cocoapods-0.3.10/lib/cocoapods/installer.rb:51:in `map'
/Users/maikgosenshuis/.rvm/gems/ruby-1.9.3-p125@global/gems/cocoapods-0.3.10/lib/cocoapods/installer.rb:51:in `target_installers'
/Users/maikgosenshuis/.rvm/gems/ruby-1.9.3-p125@global/gems/cocoapods-0.3.10/lib/cocoapods/installer.rb:81:in `install!'
/Users/maikgosenshuis/.rvm/gems/ruby-1.9.3-p125@global/gems/cocoapods-0.3.10/lib/cocoapods/command/install.rb:44:in `run'
/Users/maikgosenshuis/.rvm/gems/ruby-1.9.3-p125@global/gems/cocoapods-0.3.10/lib/cocoapods/command.rb:53:in `run'
/Users/maikgosenshuis/.rvm/gems/ruby-1.9.3-p125@global/gems/cocoapods-0.3.10/bin/pod:10:in `'
/Users/maikgosenshuis/.rvm/gems/ruby-1.9.3-p125@global/bin/pod:19:in `load'
/Users/maikgosenshuis/.rvm/gems/ruby-1.9.3-p125@global/bin/pod:19:in `

'
```