undefined method `frameworks_build_phase' for #<Xcodeproj::Project::Object::PBXAggregateTarget:0x10d4ec718> #784

Closed
azeitler opened this Issue Feb 6, 2013 · 2 comments

3 participants

@azeitler

Report

  • What did you do?
    update to CocoaPods 0.16.2, ran pod update

  • What did you expect to happen?
    no errors

  • What happened instead?
    exception: undefined method frameworks_build_phase' for #<Xcodeproj::Project::Object::PBXAggregateTarget:0x10d4ec718>
    /Library/Ruby/Gems/1.8/gems/cocoapods-0.16.2/lib/cocoapods/installer/user_project_integrator.rb:141:in
    targets'

Stack

   CocoaPods : 0.16.2
        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.6 (4H127)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib
Repositories : dopanic-specs - ssh-914024-gamedevgit@dopanic.com:dopanic-specs-bare.git @ f3d976dac4e484b19af6187fb45062b84194358c
               master - https://github.com/CocoaPods/Specs.git @ dfa50ff81b6e81b8ac7e842e04cd4f00ed29e2eb

Podfile

platform :ios, '5.0'

# test target pods
target :test do
  pod 'GHUnitIOS'
  link_with 'Tests'
  link_with 'Tests-gh'
end

# app-specific pods
# pod 'CBIntrospect', :git => 'https://github.com/cbess/CBIntrospector.git'
#pod 'PanicAppKit', '~> 1.0'

Error

undefined method `frameworks_build_phase' for #<Xcodeproj::Project::Object::PBXAggregateTarget:0x10d4ec718>
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.2/lib/cocoapods/installer/user_project_integrator.rb:141:in `targets'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.2/lib/cocoapods/installer/user_project_integrator.rb:126:in `reject'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.2/lib/cocoapods/installer/user_project_integrator.rb:126:in `targets'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.2/lib/cocoapods/installer/user_project_integrator.rb:79:in `integrate!'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:55:in `to_proc'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.2/lib/cocoapods/installer/user_project_integrator.rb:21:in `map'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.2/lib/cocoapods/installer/user_project_integrator.rb:21:in `integrate!'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.2/lib/cocoapods/installer.rb:140:in `install!'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.2/lib/cocoapods/command/install.rb:46:in `run_install_with_update'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.2/lib/cocoapods/command/update.rb:20:in `run'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.2/lib/cocoapods/command.rb:75:in `run'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.2/bin/pod:16
/usr/bin/pod:23:in `load'
/usr/bin/pod:23
@celer

This might be a duplicate of #729

@alloy
CocoaPods member

Indeed it is, thanks, @celer.

@alloy alloy closed this Feb 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment