Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

*pod install* fails when encountering unrecognized property in project.pbxproj #696

Closed
ursachec opened this Issue · 2 comments

2 participants

@ursachec

Report

  • What did you do?
    Tried to setup CocoaPods for an large existing codebase by creating a Podfile and running pod install.

  • What did you expect to happen?
    I expected pod install to work without any errors.

  • What happened instead?
    pod install failed with an error.
    It seemed not to recognize a property from project.pbxproj named "comments" that was tied to a Run Script build phase and probably came from an older XCode version.
    After removing that build phase, pod install started working.

Stack

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

Podfile

          platform :ios, '6.0'

pod 'AFIncrementalStore', '0.3.0'

Error

[!] Xcodeproj doesn't know about the following attributes commentsMuss zuerst ausgeführt werden. for the 'PBXShellScriptBuildPhase' isa.
Please file an issue: https://github.com/CocoaPods/Xcodeproj/issues/new
/Library/Ruby/Gems/1.8/gems/xcodeproj-0.4.0/lib/xcodeproj/project/object.rb:221:in `configure_with_plist'
/Library/Ruby/Gems/1.8/gems/xcodeproj-0.4.0/lib/xcodeproj/project.rb:183:in `new_from_plist'
/Library/Ruby/Gems/1.8/gems/xcodeproj-0.4.0/lib/xcodeproj/project/object.rb:245:in `object_with_uuid'
/Library/Ruby/Gems/1.8/gems/xcodeproj-0.4.0/lib/xcodeproj/project/object.rb:200:in `configure_with_plist'
/Library/Ruby/Gems/1.8/gems/xcodeproj-0.4.0/lib/xcodeproj/project/object.rb:199:in `each'
/Library/Ruby/Gems/1.8/gems/xcodeproj-0.4.0/lib/xcodeproj/project/object.rb:199:in `configure_with_plist'
/Library/Ruby/Gems/1.8/gems/xcodeproj-0.4.0/lib/xcodeproj/project/object.rb:196:in `each'
/Library/Ruby/Gems/1.8/gems/xcodeproj-0.4.0/lib/xcodeproj/project/object.rb:196:in `configure_with_plist'
/Library/Ruby/Gems/1.8/gems/xcodeproj-0.4.0/lib/xcodeproj/project.rb:183:in `new_from_plist'
/Library/Ruby/Gems/1.8/gems/xcodeproj-0.4.0/lib/xcodeproj/project/object.rb:245:in `object_with_uuid'
/Library/Ruby/Gems/1.8/gems/xcodeproj-0.4.0/lib/xcodeproj/project/object.rb:200:in `configure_with_plist'
/Library/Ruby/Gems/1.8/gems/xcodeproj-0.4.0/lib/xcodeproj/project/object.rb:199:in `each'
/Library/Ruby/Gems/1.8/gems/xcodeproj-0.4.0/lib/xcodeproj/project/object.rb:199:in `configure_with_plist'
/Library/Ruby/Gems/1.8/gems/xcodeproj-0.4.0/lib/xcodeproj/project/object.rb:196:in `each'
/Library/Ruby/Gems/1.8/gems/xcodeproj-0.4.0/lib/xcodeproj/project/object.rb:196:in `configure_with_plist'
/Library/Ruby/Gems/1.8/gems/xcodeproj-0.4.0/lib/xcodeproj/project.rb:183:in `new_from_plist'
/Library/Ruby/Gems/1.8/gems/xcodeproj-0.4.0/lib/xcodeproj/project.rb:96:in `initialize'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0/lib/cocoapods/podfile.rb:46:in `new'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0/lib/cocoapods/podfile.rb:46:in `project'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0/lib/cocoapods/podfile.rb:50:in `build_configurations'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0/lib/cocoapods/podfile.rb:532:in `user_build_configurations'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0/lib/cocoapods/podfile.rb:532:in `map'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0/lib/cocoapods/podfile.rb:532:in `user_build_configurations'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0/lib/cocoapods/installer.rb:21:in `project'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0/lib/cocoapods/installer.rb:118:in `install!'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0/lib/cocoapods/user_interface.rb:77:in `message'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0/lib/cocoapods/installer.rb:117:in `install!'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0/lib/cocoapods/user_interface.rb:37:in `section'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0/lib/cocoapods/installer.rb:112:in `install!'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0/lib/cocoapods/command/install.rb:46:in `run_install_with_update'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0/lib/cocoapods/command/install.rb:51:in `run'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0/lib/cocoapods/command.rb:75:in `run'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.16.0/bin/pod:16
/usr/bin/pod:19:in `load'
/usr/bin/pod:19
@drodriguez

Should be fixed when new Xcodeproj gem gets released.

@drodriguez drodriguez closed this
@ursachec

Nice, thank you!

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.