New Error #1873

Closed
yao2030 opened this Issue Mar 11, 2014 · 2 comments

Comments

Projects
None yet
2 participants

yao2030 commented Mar 11, 2014

Report

  • What did you do?
  • What did you expect to happen?
  • What happened instead?

Stack

   CocoaPods : 0.29.0
        Ruby : ruby 2.0.0p247 (2013-06-27 revision 41674) [universal.x86_64-darwin13]
    RubyGems : 2.2.1
        Host : Mac OS X 10.9.2 (13C64)
       Xcode : 5.0.2 (5A3005)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib
Repositories : master - https://github.com/CocoaPods/Specs.git @ ecaada8c84b37f38f0fda0461349266278ac635c

Podfile

platform :ios, '7.0'
pod "AFNetworking", "~> 2.0"
pod 'Reachability'

Error

ArgumentError - Unable to read plist data from `"/Users/ly/work/hotleads/hotleads.xcodeproj/project.pbxproj"': Unexpected character / at line 1
/Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.14.1/lib/xcodeproj/project.rb:172:in `read_plist'
/Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.14.1/lib/xcodeproj/project.rb:172:in `initialize_from_file'
/Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.14.1/lib/xcodeproj/project.rb:93:in `open'
/Users/ly/.gem/ruby/2.0.0/gems/cocoapods-0.29.0/lib/cocoapods/installer/analyzer.rb:489:in `block in compute_target_platforms'
/Users/ly/.gem/ruby/2.0.0/gems/cocoapods-0.29.0/lib/cocoapods/installer/analyzer.rb:486:in `each'
/Users/ly/.gem/ruby/2.0.0/gems/cocoapods-0.29.0/lib/cocoapods/installer/analyzer.rb:486:in `compute_target_platforms'
/Users/ly/.gem/ruby/2.0.0/gems/cocoapods-0.29.0/lib/cocoapods/installer/analyzer.rb:55:in `analyze'
/Users/ly/.gem/ruby/2.0.0/gems/cocoapods-0.29.0/lib/cocoapods/installer.rb:171:in `analyze'
/Users/ly/.gem/ruby/2.0.0/gems/cocoapods-0.29.0/lib/cocoapods/installer.rb:94:in `block in resolve_dependencies'
/Users/ly/.gem/ruby/2.0.0/gems/cocoapods-0.29.0/lib/cocoapods/user_interface.rb:52:in `section'
/Users/ly/.gem/ruby/2.0.0/gems/cocoapods-0.29.0/lib/cocoapods/installer.rb:93:in `resolve_dependencies'
/Users/ly/.gem/ruby/2.0.0/gems/cocoapods-0.29.0/lib/cocoapods/installer.rb:86:in `install!'
/Users/ly/.gem/ruby/2.0.0/gems/cocoapods-0.29.0/lib/cocoapods/command/project.rb:38:in `run_install_with_update'
/Users/ly/.gem/ruby/2.0.0/gems/cocoapods-0.29.0/lib/cocoapods/command/project.rb:68:in `run'
/Library/Ruby/Gems/2.0.0/gems/claide-0.4.0/lib/claide/command.rb:213:in `run'
/Users/ly/.gem/ruby/2.0.0/gems/cocoapods-0.29.0/lib/cocoapods/command.rb:51:in `run'
/Users/ly/.gem/ruby/2.0.0/gems/cocoapods-0.29.0/bin/pod:24:in `<top (required)>'
/usr/bin/pod:23:in `load'
/usr/bin/pod:23:in `<main>'
Contributor

kylef commented Mar 11, 2014

@liuyaouestc Sounds like your xcodeproj file doesn't follow the correct syntax.

This could be due to being inside a git merge conflict. Could you check if this is the case.

https://help.github.com/articles/resolving-merge-conflicts

Contributor

kylef commented Mar 16, 2014

Closing, please re-open if this is not the case.

@kylef kylef closed this Mar 16, 2014

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