Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Crash on pod install - bug in xcodeproj #664

Closed
xslim opened this Issue · 9 comments

4 participants

@xslim

Stack

   CocoaPods : 0.16.0
        Ruby : ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.4.0]
    RubyGems : 1.8.24
        Host : Mac OS X 10.8.2 (12C60)
       Xcode : 4.5.2 (4G2008a)
Ruby lib dir : /Users/slim/.rvm/rubies/ruby-1.9.3-p194/lib
Repositories : master - git@github.com:CocoaPods/Specs.git @ 9d8ef66d67ed6c05dd0054399b8a977385eddd07
               xaton - git@github.com:Xaton/CocoaPodSpecs.git @ d2c2542b2df620ea135cc75784c56e40499219db

Podfile

          platform :ios, :deployment_target => "5.0"
xcodeproj "DeltaTV/DeltaTV.xcodeproj"

# Utilities
pod 'AGImageChecker/Base'
pod 'DCIntrospect'
pod 'TKThemeManager', :podspec => 'https://raw.github.com/xslim/TKThemeManager/master/TKThemeManager.podspec'

# UI Components
pod 'PSTCollectionView'
pod 'MGSplitViewController'

# Networking
pod 'AFNetworking', :podspec => 'https://raw.github.com/CocoaPods/Specs/master/AFNetworking/0.10.0/AFNetworking.podspec'


# Libraries
pod 'Injective'
pod 'Xaton-iOS', :podspec => 'https://raw.github.com/gist/4148173/3bc686dd3cd0c881465808f1eb78a9129e4e95e9/Xaton-iOS.podspec'
pod 'SDURLCache'
pod 'TouchXML'
pod 'Reachability'
pod 'MagicalRecord'

Error

`#<UUID: `0BEC5A52166381750081A86B', isa: `PBXGroup'>` attempted to initialize an object with an unknown UUID: `0B68695E16650195006EF3E1` for attribute: `children`
Please file and issue: https://github.com/CocoaPods/Xcodeproj/issues/new
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/xcodeproj-0.4.0/lib/xcodeproj/project/object.rb:248:in `object_with_uuid'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/xcodeproj-0.4.0/lib/xcodeproj/project/object.rb:200:in `block (2 levels) in configure_with_plist'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/xcodeproj-0.4.0/lib/xcodeproj/project/object.rb:199:in `each'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/xcodeproj-0.4.0/lib/xcodeproj/project/object.rb:199:in `block in configure_with_plist'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/xcodeproj-0.4.0/lib/xcodeproj/project/object.rb:196:in `each'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/xcodeproj-0.4.0/lib/xcodeproj/project/object.rb:196:in `configure_with_plist'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/xcodeproj-0.4.0/lib/xcodeproj/project.rb:183:in `new_from_plist'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/xcodeproj-0.4.0/lib/xcodeproj/project/object.rb:245:in `object_with_uuid'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/xcodeproj-0.4.0/lib/xcodeproj/project/object.rb:200:in `block (2 levels) in configure_with_plist'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/xcodeproj-0.4.0/lib/xcodeproj/project/object.rb:199:in `each'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/xcodeproj-0.4.0/lib/xcodeproj/project/object.rb:199:in `block in configure_with_plist'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/xcodeproj-0.4.0/lib/xcodeproj/project/object.rb:196:in `each'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/xcodeproj-0.4.0/lib/xcodeproj/project/object.rb:196:in `configure_with_plist'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/xcodeproj-0.4.0/lib/xcodeproj/project.rb:183:in `new_from_plist'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/xcodeproj-0.4.0/lib/xcodeproj/project/object.rb:245:in `object_with_uuid'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/xcodeproj-0.4.0/lib/xcodeproj/project/object.rb:190:in `block in configure_with_plist'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/xcodeproj-0.4.0/lib/xcodeproj/project/object.rb:187:in `each'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/xcodeproj-0.4.0/lib/xcodeproj/project/object.rb:187:in `configure_with_plist'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/xcodeproj-0.4.0/lib/xcodeproj/project.rb:183:in `new_from_plist'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/xcodeproj-0.4.0/lib/xcodeproj/project.rb:96:in `initialize'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/cocoapods-0.16.0/lib/cocoapods/podfile.rb:46:in `new'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/cocoapods-0.16.0/lib/cocoapods/podfile.rb:46:in `project'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/cocoapods-0.16.0/lib/cocoapods/podfile.rb:50:in `build_configurations'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/cocoapods-0.16.0/lib/cocoapods/podfile.rb:532:in `block in user_build_configurations'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/cocoapods-0.16.0/lib/cocoapods/podfile.rb:532:in `map'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/cocoapods-0.16.0/lib/cocoapods/podfile.rb:532:in `user_build_configurations'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/cocoapods-0.16.0/lib/cocoapods/installer.rb:21:in `project'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/cocoapods-0.16.0/lib/cocoapods/installer.rb:118:in `block (2 levels) in install!'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/cocoapods-0.16.0/lib/cocoapods/user_interface.rb:77:in `message'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/cocoapods-0.16.0/lib/cocoapods/installer.rb:117:in `block in install!'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/cocoapods-0.16.0/lib/cocoapods/user_interface.rb:37:in `section'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/cocoapods-0.16.0/lib/cocoapods/installer.rb:112:in `install!'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/cocoapods-0.16.0/lib/cocoapods/command/install.rb:46:in `run_install_with_update'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/cocoapods-0.16.0/lib/cocoapods/command/install.rb:51:in `run'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/cocoapods-0.16.0/lib/cocoapods/command.rb:75:in `run'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/cocoapods-0.16.0/bin/pod:16:in `<top (required)>'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/bin/pod:19:in `load'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/bin/pod:19:in `<main>'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `eval'
/Users/slim/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `<main>'
@xslim

This happened because project.pbxproj was recently merged, and there was UDID not connected to anything.

Editing the file manually and removing that UDID solved the problem.

Xcodeproj should not crash here...

@fabiopelosin

With our current implementation it would be easier to discard the missing UUID, do you think this is a reasonable approach?

@xslim

I think that's what Xcode does - ignores that.
The UDID is not missing, it's there, but seems not connected to anything. Deleating it solved the problem.

@fabiopelosin

I mean that my solution would delete the unlinked UUID from the project, while I think that Xcode leaves them. I think that it is fine, however I might be missing something, so I'm asking for feedback.

@xslim

I agree on deleting

@fabiopelosin

Thanks for clarifying.

@phillbaker

Mark this bug closed?

@keith
Collaborator

Closing because this seems to be fixed. Reopen if needed.

@keith keith closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.