uninitialized constant Xcodeproj::Project::Object::PBXAggregateTarget #615

Closed
nicolaslauquin opened this Issue Oct 23, 2012 · 1 comment

Projects

None yet

2 participants

@nicolaslauquin

Report

  • What did you do?
    I run pod install on a fresh new xcode proj with latest version of Cocoapods.
  • What did you expect to happen?
    Successfull install of the MKNetworkit 0.85 and correct setup of my workspace.
  • What happened instead?
    Following errors occurs :

Stack

   CocoaPods : 0.16.0.rc2
        Ruby : ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]
    RubyGems : 1.8.24
        Host : Mac OS X 10.8.2 (12C60)
       Xcode : 4.5.1 (4G1004)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib
Repositories : master - https://github.com/CocoaPods/Specs.git @ bb6923a4a7ddb3b06770fa8cbe2fdab4341a6bf4

Podfile

          platform :ios
dependency 'MKNetworkKit' , '0.85'

Error

uninitialized constant Xcodeproj::Project::Object::PBXAggregateTarget
/Library/Ruby/Gems/1.8/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
/Library/Ruby/Gems/1.8/gems/xcodeproj-0.4.0.rc2/lib/xcodeproj/project.rb:179:in `const_get'
/Library/Ruby/Gems/1.8/gems/xcodeproj-0.4.0.rc2/lib/xcodeproj/project.rb:179:in `new_from_plist'
/Library/Ruby/Gems/1.8/gems/xcodeproj-0.4.0.rc2/lib/xcodeproj/project/object.rb:195:in `configure_with_plist'
/Library/Ruby/Gems/1.8/gems/xcodeproj-0.4.0.rc2/lib/xcodeproj/project/object.rb:194:in `each'
/Library/Ruby/Gems/1.8/gems/xcodeproj-0.4.0.rc2/lib/xcodeproj/project/object.rb:194:in `configure_with_plist'
/Library/Ruby/Gems/1.8/gems/xcodeproj-0.4.0.rc2/lib/xcodeproj/project/object.rb:191:in `each'
/Library/Ruby/Gems/1.8/gems/xcodeproj-0.4.0.rc2/lib/xcodeproj/project/object.rb:191:in `configure_with_plist'
/Library/Ruby/Gems/1.8/gems/xcodeproj-0.4.0.rc2/lib/xcodeproj/project.rb:183:in `new_from_plist'
/Library/Ruby/Gems/1.8/gems/xcodeproj-0.4.0.rc2/lib/xcodeproj/project.rb:96:in `initialize'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0.rc2/lib/cocoapods/podfile.rb:46:in `new'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0.rc2/lib/cocoapods/podfile.rb:46:in `project'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0.rc2/lib/cocoapods/podfile.rb:50:in `build_configurations'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0.rc2/lib/cocoapods/podfile.rb:546:in `user_build_configurations'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0.rc2/lib/cocoapods/podfile.rb:546:in `map'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0.rc2/lib/cocoapods/podfile.rb:546:in `user_build_configurations'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0.rc2/lib/cocoapods/installer.rb:21:in `project'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0.rc2/lib/cocoapods/installer.rb:118:in `install!'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0.rc2/lib/cocoapods/user_interface.rb:77:in `message'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0.rc2/lib/cocoapods/installer.rb:117:in `install!'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0.rc2/lib/cocoapods/user_interface.rb:37:in `section'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0.rc2/lib/cocoapods/installer.rb:112:in `install!'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0.rc2/lib/cocoapods/command/install.rb:46:in `run_install_with_update'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0.rc2/lib/cocoapods/command/install.rb:51:in `run'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0.rc2/lib/cocoapods/command.rb:75:in `run'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0.rc2/bin/pod:16
/usr/bin/pod:23:in `load'
/usr/bin/pod:23
@fabiopelosin
Member

Xcodeproj (0.4.0.rc3) is out and should fix the issue $ [sudo] gem install xcodeproj --pre.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment