CocoaPods / CocoaPods

The Cocoa Dependency Manager.
https://cocoapods.org/
Other
14.56k stars 2.63k forks source link

Crash when reading Xcode project during intergration #2483

Closed kylef closed 10 years ago

kylef commented 10 years ago

This is a reproducible issue, which doesn't happen every time, but it happens often enough when running pod install --no-repo-update. The issue appears to be something wrong with the garbage collector in Apple's Ruby in this specific context.

This is only reproducible on system ruby. I compiled this version of Ruby myself with debug symbols and it doesn't exhibit the same issue.

Myself and @alloy have tried creating a smaller version of this code to reproduce with no success. Calling the following works fine:

Xcodeproj::PlistHelper.read('/Users/kylef/Projects/cocode/palaver/Palaver.xcodeproj/project.pbxproj')

However it's the exact thing that is called during the CocoaPods integration. We have then saved the output of this method to Marshal'ed to disk and then stubbed out Xcodeproj::PlistHelper.read to return the marshal'ed version and it also works.

Specifically, it's calling load_xml_str on CFPropertyList::List which seems to trigger the process of crashing. To be clear, it's not necessarily something that CFPropertyList is doing. But somehow the ruby process is getting into a state where it is crashing in this code path.

$ ruby --version
ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14]
Users/kylef/gems/gems/xcodeproj-0.19.1/lib/xcodeproj/project.rb:175:in `initialize_from_file'
/Users/kylef/gems/gems/xcodeproj-0.19.1/lib/xcodeproj/project.rb:92:in `open'
/Users/kylef/gems/gems/cocoapods-0.34.0.rc2/lib/cocoapods/target/aggregate_target.rb:50:in `user_targets'
/Users/kylef/gems/gems/cocoapods-0.34.0.rc2/lib/cocoapods/installer/user_project_integrator.rb:141:in `block in warn_about_xcconfig_overrides'
/Users/kylef/gems/gems/cocoapods-0.34.0.rc2/lib/cocoapods/installer/user_project_integrator.rb:140:in `each'
/Users/kylef/gems/gems/cocoapods-0.34.0.rc2/lib/cocoapods/installer/user_project_integrator.rb:140:in `warn_about_xcconfig_overrides'
/Users/kylef/gems/gems/cocoapods-0.34.0.rc2/lib/cocoapods/installer/user_project_integrator.rb:63:in `integrate!'
/Users/kylef/gems/gems/cocoapods-0.34.0.rc2/lib/cocoapods/installer.rb:496:in `block in integrate_user_project'
/Users/kylef/gems/gems/cocoapods-0.34.0.rc2/lib/cocoapods/user_interface.rb:49:in `section'
/Users/kylef/gems/gems/cocoapods-0.34.0.rc2/lib/cocoapods/installer.rb:493:in `integrate_user_project'
/Users/kylef/gems/gems/cocoapods-0.34.0.rc2/lib/cocoapods/installer.rb:93:in `install!'
/Users/kylef/gems/gems/cocoapods-0.34.0.rc2/lib/cocoapods/command/project.rb:71:in `run_install_with_update'
/Users/kylef/gems/gems/cocoapods-0.34.0.rc2/lib/cocoapods/command/project.rb:101:in `run'
/Users/kylef/gems/gems/claide-0.7.0/lib/claide/command.rb:271:in `run'
/Users/kylef/gems/gems/cocoapods-0.34.0.rc2/lib/cocoapods/command.rb:48:in `run'
/Users/kylef/gems/gems/cocoapods-0.34.0.rc2/bin/pod:33:in `<top (required)>'
(lldb) bt all
* thread #1: tid = 0x2ddee, 0x0000000100049ce9 libruby.2.0.0.dylib`___lldb_unnamed_function877$$libruby.2.0.0.dylib + 178, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
  * frame #0: 0x0000000100049ce9 libruby.2.0.0.dylib`___lldb_unnamed_function877$$libruby.2.0.0.dylib + 178
    frame #1: 0x0000000100044d42 libruby.2.0.0.dylib`rb_gc_finalize_deferred + 74
    frame #2: 0x000000010013a868 libruby.2.0.0.dylib`rb_threadptr_execute_interrupts + 852
    frame #3: 0x0000000100123436 libruby.2.0.0.dylib`___lldb_unnamed_function2527$$libruby.2.0.0.dylib + 15017
    frame #4: 0x000000010012d062 libruby.2.0.0.dylib`___lldb_unnamed_function2579$$libruby.2.0.0.dylib + 139
    frame #5: 0x000000010013265f libruby.2.0.0.dylib`___lldb_unnamed_function2627$$libruby.2.0.0.dylib + 713
    frame #6: 0x0000000100127b5b libruby.2.0.0.dylib`rb_funcall2 + 337
    frame #7: 0x0000000100075b41 libruby.2.0.0.dylib`rb_class_new_instance + 41
    frame #8: 0x0000000100135376 libruby.2.0.0.dylib`___lldb_unnamed_function2664$$libruby.2.0.0.dylib + 814
    frame #9: 0x0000000100122577 libruby.2.0.0.dylib`___lldb_unnamed_function2527$$libruby.2.0.0.dylib + 11242
    frame #10: 0x000000010012d062 libruby.2.0.0.dylib`___lldb_unnamed_function2579$$libruby.2.0.0.dylib + 139
    frame #11: 0x000000010012a86d libruby.2.0.0.dylib`rb_yield + 216
    frame #12: 0x000000010000b38f libruby.2.0.0.dylib`rb_ary_each + 72
    frame #13: 0x0000000100135376 libruby.2.0.0.dylib`___lldb_unnamed_function2664$$libruby.2.0.0.dylib + 814
    frame #14: 0x0000000100134d55 libruby.2.0.0.dylib`___lldb_unnamed_function2663$$libruby.2.0.0.dylib + 614
    frame #15: 0x00000001001224c9 libruby.2.0.0.dylib`___lldb_unnamed_function2527$$libruby.2.0.0.dylib + 11068
    frame #16: 0x000000010012d062 libruby.2.0.0.dylib`___lldb_unnamed_function2579$$libruby.2.0.0.dylib + 139
    frame #17: 0x000000010012cfc4 libruby.2.0.0.dylib`rb_iseq_eval + 366
    frame #18: 0x00000001000384fc libruby.2.0.0.dylib`___lldb_unnamed_function600$$libruby.2.0.0.dylib + 317
    frame #19: 0x000000010003936d libruby.2.0.0.dylib`___lldb_unnamed_function605$$libruby.2.0.0.dylib + 177
    frame #20: 0x0000000100135376 libruby.2.0.0.dylib`___lldb_unnamed_function2664$$libruby.2.0.0.dylib + 814
    frame #21: 0x0000000100134d55 libruby.2.0.0.dylib`___lldb_unnamed_function2663$$libruby.2.0.0.dylib + 614
    frame #22: 0x0000000100122577 libruby.2.0.0.dylib`___lldb_unnamed_function2527$$libruby.2.0.0.dylib + 11242
    frame #23: 0x000000010012d062 libruby.2.0.0.dylib`___lldb_unnamed_function2579$$libruby.2.0.0.dylib + 139
    frame #24: 0x000000010012dbe2 libruby.2.0.0.dylib`rb_iseq_eval_main + 138
    frame #25: 0x00000001000353fc libruby.2.0.0.dylib`___lldb_unnamed_function568$$libruby.2.0.0.dylib + 128
    frame #26: 0x000000010003534d libruby.2.0.0.dylib`ruby_run_node + 78
    frame #27: 0x0000000100000e5a ruby`main + 91
    frame #28: 0x00007fff8b1055c9 libdyld.dylib`start + 1
    frame #29: 0x00007fff8b1055c9 libdyld.dylib`start + 1
alloy commented 10 years ago

Possibly we can work around the issue by just decoding the Plist XML ourselves, instead of relying on CFPropertyList.

fabiopelosin commented 10 years ago

Which xml_parser_interface is being selected on your system: https://github.com/ckruse/CFPropertyList/blob/14c9063e76801ffc47886c620cba7fc4f613a72b/lib/cfpropertylist/rbCFPropertyList.rb#L100?

kylef commented 10 years ago

CFPropertyList::LibXMLParser

fabiopelosin commented 10 years ago

Is the issue still present if you uninstall libxml-ruby? Also the reinstall scenario would be interesting.

alloy commented 10 years ago

If you want to test different adapters, then it’s probably better to just comment those out in the file that tries to load the adapters.

kylef commented 10 years ago

Is the issue still present if you uninstall libxml-ruby?

The issue is present with libxml-ruby that is bundled with OS X.

kylef commented 10 years ago

I've managed to narrow this issue down, it's due to installing CFPropertyList manually. It appears to work with the system version, but if you manually install CFPropertyList with gem install CFPropertyList this issue will happen.

This means that it should work for most user's with standard installation using root. Since I'm using GEM_HOME it caused CFPropertyList to be installed since the system wide one would be unavailable.

segiddins commented 10 years ago

@kylef is it possible this is a result of CFPropertyList being compiled on a previous version of OS X?

alloy commented 10 years ago

@segiddins The CFPropertyList gem doesn’t have a C extension, otherwise that could have been it indeed.

@kylef For what it’s worth, I don’t have this issue when I manually install the gem. Is there a way I can try it out with your project? I think I only need your Xcode project.

alloy commented 10 years ago

In the meantime I’m going to move this ticket out of the RC scope, as it’s definitely a very specialised issue, as I discussed with @kylef in Spain.

fabiopelosin commented 10 years ago

@kylef is it possible this is a result of CFPropertyList being compiled on a previous version of OS X?

@segiddins The CFPropertyList gem doesn’t have a C extension, otherwise that could have been it indeed.

What about the native extension of the libxml-ruby gem which @kylef installed in his GEM_HOME?

kylef commented 10 years ago

This is actually getting worse since I gem install cocoapods 0.34.0. No longer on intergration, but analysing the dependencies:

$ pod install
Analyzing dependencies
/Users/kylef/.fresh/gems/xcodeproj-0.19.2/lib/xcodeproj/plist_helper.rb:77: [BUG] Segmentation fault
ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14]

-- Crash Report log information --------------------------------------------
   See Crash Report log file under the one of following:
     * ~/Library/Logs/CrashReporter
     * /Library/Logs/CrashReporter
     * ~/Library/Logs/DiagnosticReports
     * /Library/Logs/DiagnosticReports
   the more detail of.

-- Control frame information -----------------------------------------------
c:0022 p:---- s:0095 e:000094 CFUNC  :read
c:0021 p:0015 s:0091 e:000090 METHOD /Users/kylef/.fresh/gems/xcodeproj-0.19.2/lib/xcodeproj/plist_helper.rb:77
c:0020 p:0046 s:0086 e:000085 METHOD /Users/kylef/.fresh/gems/xcodeproj-0.19.2/lib/xcodeproj/plist_helper.rb:58
c:0019 p:0030 s:0080 e:000079 METHOD /Users/kylef/.fresh/gems/xcodeproj-0.19.2/lib/xcodeproj/project.rb:175
c:0018 p:0070 s:0074 e:000073 METHOD /Users/kylef/.fresh/gems/xcodeproj-0.19.2/lib/xcodeproj/project.rb:92
c:0017 p:0062 s:0069 e:000068 BLOCK  /Users/kylef/.fresh/gems/cocoapods-0.34.0/lib/cocoapods/installer/analyzer.rb:189 [FINISH]
c:0016 p:---- s:0060 e:000059 CFUNC  :each
c:0015 p:0017 s:0057 e:000056 METHOD /Users/kylef/.fresh/gems/cocoapods-0.34.0/lib/cocoapods/installer/analyzer.rb:183
c:0014 p:0095 s:0053 e:000051 METHOD /Users/kylef/.fresh/gems/cocoapods-0.34.0/lib/cocoapods/installer/analyzer.rb:57
c:0013 p:0108 s:0048 e:000047 METHOD /Users/kylef/.fresh/gems/cocoapods-0.34.0/lib/cocoapods/installer.rb:184
c:0012 p:0007 s:0044 e:000043 BLOCK  /Users/kylef/.fresh/gems/cocoapods-0.34.0/lib/cocoapods/installer.rb:106
c:0011 p:0082 s:0042 e:000041 METHOD /Users/kylef/.fresh/gems/cocoapods-0.34.0/lib/cocoapods/user_interface.rb:49
c:0010 p:0015 s:0036 e:000035 METHOD /Users/kylef/.fresh/gems/cocoapods-0.34.0/lib/cocoapods/installer.rb:105
c:0009 p:0013 s:0033 e:000032 METHOD /Users/kylef/.fresh/gems/cocoapods-0.34.0/lib/cocoapods/installer.rb:90
c:0008 p:0045 s:0030 e:000029 METHOD /Users/kylef/.fresh/gems/cocoapods-0.34.0/lib/cocoapods/command/project.rb:71
c:0007 p:0015 s:0025 e:000024 METHOD /Users/kylef/.fresh/gems/cocoapods-0.34.0/lib/cocoapods/command/project.rb:101
c:0006 p:0098 s:0022 e:000021 METHOD /Users/kylef/.fresh/gems/claide-0.7.0/lib/claide/command.rb:271
c:0005 p:0032 s:0016 e:000015 METHOD /Users/kylef/.fresh/gems/cocoapods-0.34.0/lib/cocoapods/command.rb:48
c:0004 p:0257 s:0012 e:000011 TOP    /Users/kylef/.fresh/gems/cocoapods-0.34.0/bin/pod:33 [FINISH]
c:0003 p:---- s:0010 e:000009 CFUNC  :load
c:0002 p:0118 s:0006 E:000ad8 EVAL   /Users/kylef/gems/bin/pod:23 [FINISH]
c:0001 p:0000 s:0002 E:001108 TOP    [FINISH]

Note, I can created a brand new GEM_HOME and only installed CocoaPods. This issue is reproducible in the fresh install too.

$ set -x GEM_HOME ~/.fresh2
$ gem install cocoapods
$ gem list

*** LOCAL GEMS ***

activesupport (3.2.19)
bigdecimal (1.2.0)
CFPropertyList (2.2.8)
claide (0.7.0)
cocoapods (0.34.0)
cocoapods-core (0.34.0)
cocoapods-downloader (0.7.0)
cocoapods-plugins (0.3.1)
cocoapods-trunk (0.2.0)
cocoapods-try (0.4.0)
colored (1.2)
escape (0.0.4)
fuzzy_match (2.0.4)
i18n (0.6.11)
io-console (0.4.2)
json (1.7.7)
json_pure (1.8.1)
libxml-ruby (2.6.0)
minitest (4.3.2)
multi_json (1.10.1)
nap (0.8.0)
netrc (0.7.7)
nokogiri (1.5.6)
open4 (1.3.4)
psych (2.0.0)
rake (0.9.6)
rdoc (4.0.0)
sqlite3 (1.3.7)
test-unit (2.0.0.0)
xcodeproj (0.19.2)
klundberg commented 10 years ago

I've just encountered this with our podfile as well; it's frustrating since I'd love to use 0.34 for some of the bugfixes it has.

segiddins commented 10 years ago

@klundberg can you share the details of your Ruby setup?

klundberg commented 10 years ago
mm004:wayfair-ios klundberg$ ruby --version
ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin13]
mm004:wayfair-ios klundberg$ gem list

*** LOCAL GEMS ***

activesupport (3.2.17)
bigdecimal (1.2.0)
CFPropertyList (2.2.0)
claide (0.7.0, 0.6.1, 0.5.0, 0.4.0)
cocoapods (0.34.1, 0.34.0, 0.33.1, 0.33.0, 0.32.1, 0.31.1, 0.31.0, 0.30.0, 0.29.0)
cocoapods-core (0.34.1, 0.34.0, 0.33.1, 0.33.0, 0.32.1, 0.31.1, 0.31.0, 0.30.0, 0.29.0)
cocoapods-dependencies (0.0.1)
cocoapods-downloader (0.7.1, 0.7.0, 0.6.1, 0.6.0, 0.5.0, 0.4.1, 0.3.0)
cocoapods-plugins (0.3.1, 0.2.0)
cocoapods-trunk (0.2.0, 0.1.1)
cocoapods-try (0.4.1, 0.4.0, 0.3.0, 0.2.0)
cocoapods-try-release-fix (0.1.2)
colored (1.2)
escape (0.0.4)
fuzzy_match (2.0.4)
i18n (0.6.9)
io-console (0.4.2)
json (1.8.1, 1.7.7)
json_pure (1.8.1)
libxml-ruby (2.6.0)
mini_portile (0.5.3)
minitest (4.7.5, 4.3.2)
multi_json (1.9.2, 1.9.0)
nap (0.8.0, 0.7.0, 0.6.0)
netrc (0.7.7)
nokogiri (1.5.6)
open4 (1.3.3)
psych (2.0.0)
rake (10.2.2, 10.1.1, 0.9.6)
rdoc (4.0.0)
sqlite3 (1.3.7)
test-unit (2.0.0.0)
tzinfo (0.3.39)
xcodeproj (0.19.2, 0.17.0, 0.16.1, 0.16.0, 0.15.3, 0.14.1)

I just have system ruby on 10.9.5 with cocoapods installed there. I did have CFPropertyList 2.2.7 installed, but I removed that and reinstalled cocoapods and got 2.2.0 above; either case I get a similar crash it seems.

klundberg commented 10 years ago

Updating to CFPropertyList 2.2.8 also does not fix it for me.

segiddins commented 10 years ago

@klundberg would you happen to have another ruby version installed to test with?

klundberg commented 10 years ago

I installed and used ruby 2.1.3 through homebrew, that seemed to fix it. However, when doing pod install on the same project on my personal machine using system ruby, I didn't get this issue for some reason.

If there's anything else anyone would like me to do to debug this, let me know. I don't know ruby well presently so I'm not sure where exactly to go from here.

alloy commented 10 years ago

@kylef Remind me, did you install the exact same Ruby version that comes with Yosmite and did you reproduce it there as well?

Or have others tried this? (Most I read is about installing a newer Ruby.)

klundberg commented 10 years ago

I don't know which ruby comes with Yosemite, I'm still on Mavericks. I installed the latest one available via home brew.

-Kevin

On Sep 30, 2014, at 5:28 AM, Eloy Durán notifications@github.com wrote:

@kylef https://github.com/kylef Remind me, did you install the exact same Ruby version that comes with Yosmite and did you reproduce it there as well?

Or have others tried this? (Most I read is about installing a newer Ruby.)

— Reply to this email directly or view it on GitHub https://github.com/CocoaPods/CocoaPods/issues/2483#issuecomment-57288252.

kylef commented 10 years ago

@alloy Yes, we installed a fresh Ruby with debug symbols and could no longer reproduce the issue with it.

alloy commented 10 years ago

@kylef Ah yeah, thanks.

brennanMKE commented 10 years ago

Below is my stack trace. I cannot explain why it started happening. I believe I ran pod update once before and it was fine. Later I ran it again and now it keeps resulting in this error.

> pod install
Analyzing dependencies
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/CFPropertyList-2.2.0/lib/rbCFPropertyList.rb:279: [BUG] Segmentation fault
ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin13]

-- Crash Report log information --------------------------------------------
   See Crash Report log file under the one of following:
     * ~/Library/Logs/CrashReporter
     * /Library/Logs/CrashReporter
     * ~/Library/Logs/DiagnosticReports
     * /Library/Logs/DiagnosticReports
   the more detail of.

-- Control frame information -----------------------------------------------
c:0024 p:0057 s:0104 e:000102 METHOD /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/CFPropertyList-2.2.0/lib/rbCFPropertyList.r
c:0023 p:0021 s:0095 e:000094 METHOD /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/CFPropertyList-2.2.0/lib/rbCFPropertyList.r
c:0022 p:0071 s:0091 e:000090 METHOD /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj/plist_helper.rb:60
c:0021 p:0030 s:0085 e:000084 METHOD /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj/project.rb:175
c:0020 p:0070 s:0079 e:000078 METHOD /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj/project.rb:92
c:0019 p:0035 s:0074 e:000073 BLOCK  /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/installer/analyzer.rb:538 [FINISH]
c:0018 p:---- s:0066 e:000065 CFUNC  :each
c:0017 p:0011 s:0063 e:000062 BLOCK  /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/installer/analyzer.rb:535
c:0016 p:0082 s:0061 e:000060 METHOD /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/user_interface.rb:49
c:0015 p:0015 s:0055 e:000054 METHOD /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/installer/analyzer.rb:534
c:0014 p:0035 s:0052 e:000051 METHOD /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/installer/analyzer.rb:50
c:0013 p:0108 s:0048 e:000047 METHOD /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/installer.rb:184
c:0012 p:0007 s:0044 e:000043 BLOCK  /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/installer.rb:106
c:0011 p:0082 s:0042 e:000041 METHOD /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/user_interface.rb:49
c:0010 p:0015 s:0036 e:000035 METHOD /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/installer.rb:105
c:0009 p:0013 s:0033 e:000032 METHOD /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/installer.rb:90
c:0008 p:0045 s:0030 e:000029 METHOD /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/command/project.rb:71
c:0007 p:0015 s:0025 e:000024 METHOD /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/command/project.rb:101
c:0006 p:0098 s:0022 e:000021 METHOD /Library/Ruby/Gems/2.0.0/gems/claide-0.7.0/lib/claide/command.rb:271
c:0005 p:0032 s:0016 e:000015 METHOD /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/command.rb:48
c:0004 p:0257 s:0012 e:000011 TOP    /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/bin/pod:33 [FINISH]
c:0003 p:---- s:0010 e:000009 CFUNC  :load
c:0002 p:0118 s:0006 E:0017b8 EVAL   /usr/bin/pod:23 [FINISH]
c:0001 p:0000 s:0002 E:002068 TOP    [FINISH]

/usr/bin/pod:23:in `<main>'
/usr/bin/pod:23:in `load'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/bin/pod:33:in `<top (required)>'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/command.rb:48:in `run'
/Library/Ruby/Gems/2.0.0/gems/claide-0.7.0/lib/claide/command.rb:271:in `run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/command/project.rb:101:in `run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/command/project.rb:71:in `run_install_with_update'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/installer.rb:90:in `install!'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/installer.rb:105:in `resolve_dependencies'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/user_interface.rb:49:in `section'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/installer.rb:106:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/installer.rb:184:in `analyze'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/installer/analyzer.rb:50:in `analyze'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/installer/analyzer.rb:534:in `compute_target_platforms'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/user_interface.rb:49:in `section'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/installer/analyzer.rb:535:in `block in compute_target_platforms'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/installer/analyzer.rb:535:in `each'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/installer/analyzer.rb:538:in `block (2 levels) in compute_target_platforms'
/Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj/project.rb:92:in `open'
/Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj/project.rb:175:in `initialize_from_file'
/Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj/plist_helper.rb:60:in `read'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/CFPropertyList-2.2.0/lib/rbCFPropertyList.rb:261:in `load_xml_str'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/CFPropertyList-2.2.0/lib/rbCFPropertyList.rb:279:in `load_str'

-- C level backtrace information -------------------------------------------

-- Other runtime information -----------------------------------------------

* Loaded script: /usr/bin/pod

* Loaded features:

    0 enumerator.so
    1 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/enc/encdb.bundle
    2 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/enc/trans/transdb.bundle
    3 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/rbconfig.rb
    4 /Library/Ruby/Site/2.0.0/rubygems/compatibility.rb
    5 /Library/Ruby/Site/2.0.0/rubygems/defaults.rb
    6 /Library/Ruby/Site/2.0.0/rubygems/deprecate.rb
    7 /Library/Ruby/Site/2.0.0/rubygems/errors.rb
    8 /Library/Ruby/Site/2.0.0/rubygems/version.rb
    9 /Library/Ruby/Site/2.0.0/rubygems/requirement.rb
   10 /Library/Ruby/Site/2.0.0/rubygems/platform.rb
   11 /Library/Ruby/Site/2.0.0/rubygems/basic_specification.rb
   12 /Library/Ruby/Site/2.0.0/rubygems/stub_specification.rb
   13 /Library/Ruby/Site/2.0.0/rubygems/util/stringio.rb
   14 /Library/Ruby/Site/2.0.0/rubygems/specification.rb
   15 /Library/Ruby/Site/2.0.0/rubygems/exceptions.rb
   16 /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_gem.rb
   17 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/thread.rb
   18 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/monitor.rb
   19 /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb
   20 /Library/Ruby/Site/2.0.0/rubygems.rb
   21 /Library/Ruby/Site/2.0.0/rubygems/dependency.rb
   22 /Library/Ruby/Site/2.0.0/rubygems/path_support.rb
   23 /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj/user_interface.rb
   24 /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj.rb
   25 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/core_ext/object/try.rb
   26 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/core_ext/string/strip.rb
   27 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/inflector/inflections.rb
   28 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/inflections.rb
   29 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/inflector/methods.rb
   30 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/core_ext/array/extract_options.rb
   31 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/core_ext/module/attribute_accessors.rb
   32 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/multibyte/utils.rb
   33 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/multibyte.rb
   34 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/core_ext/string/multibyte.rb
   35 /Library/Ruby/Gems/2.0.0/gems/i18n-0.6.9/lib/i18n/version.rb
   36 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/cgi/core.rb
   37 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/cgi/util.rb
   38 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/cgi/cookie.rb
   39 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/cgi.rb
   40 /Library/Ruby/Gems/2.0.0/gems/i18n-0.6.9/lib/i18n/exceptions.rb
   41 /Library/Ruby/Gems/2.0.0/gems/i18n-0.6.9/lib/i18n/interpolate/ruby.rb
   42 /Library/Ruby/Gems/2.0.0/gems/i18n-0.6.9/lib/i18n.rb
   43 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/lazy_load_hooks.rb
   44 /Library/Ruby/Gems/2.0.0/gems/i18n-0.6.9/lib/i18n/config.rb
   45 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/i18n.rb
   46 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/inflector/transliterate.rb
   47 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/core_ext/string/inflections.rb
   48 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/date_core.bundle
   49 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/date/format.rb
   50 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/date.rb
   51 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/time.rb
   52 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/notifications/fanout.rb
   53 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/notifications.rb
   54 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/core_ext/array/wrap.rb
   55 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/deprecation/behaviors.rb
   56 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/deprecation/reporting.rb
   57 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/core_ext/module/deprecation.rb
   58 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/core_ext/module/aliasing.rb
   59 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/deprecation/method_wrappers.rb
   60 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/deprecation/proxy_wrappers.rb
   61 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/deprecation.rb
   62 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/base64.rb
   63 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/base64.rb
   64 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/core_ext/module/delegation.rb
   65 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/stringio.bundle
   66 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/core_ext/kernel/reporting.rb
   67 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/core_ext/string/encoding.rb
   68 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/core_ext/object/blank.rb
   69 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/xml_mini/rexml.rb
   70 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/xml_mini.rb
   71 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/core_ext/hash/keys.rb
   72 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/core_ext/hash/reverse_merge.rb
   73 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/core_ext/array/conversions.rb
   74 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/pathname.bundle
   75 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/pathname.rb
   76 /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/gem_version.rb
   77 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/gem_version.rb
   78 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/vendor/version.rb
   79 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/vendor/requirement.rb
   80 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/vendor.rb
   81 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/specification/consumer.rb
   82 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/specification/dsl/attribute_support.rb
   83 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/specification/dsl/attribute.rb
   84 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/specification/dsl/platform_proxy.rb
   85 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/specification/dsl/deprecations.rb
   86 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/specification/dsl.rb
   87 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/specification/linter/result.rb
   88 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/specification/linter/analyzer.rb
   89 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/specification/linter.rb
   90 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/specification/root_attribute_accessors.rb
   91 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/specification/set/presenter.rb
   92 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/specification/set/statistics.rb
   93 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/specification/set.rb
   94 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/specification/json.rb
   95 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/specification.rb
   96 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core.rb
   97 /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/config.rb
   98 /Library/Ruby/Gems/2.0.0/gems/cocoapods-downloader-0.7.1/lib/cocoapods-downloader/gem_version.rb
   99 /Library/Ruby/Gems/2.0.0/gems/cocoapods-downloader-0.7.1/lib/cocoapods-downloader/api.rb
  100 /Library/Ruby/Gems/2.0.0/gems/cocoapods-downloader-0.7.1/lib/cocoapods-downloader/api_exposable.rb
  101 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/shellwords.rb
  102 /Library/Ruby/Gems/2.0.0/gems/cocoapods-downloader-0.7.1/lib/cocoapods-downloader/base.rb
  103 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/standard_error.rb
  104 /Library/Ruby/Gems/2.0.0/gems/cocoapods-downloader-0.7.1/lib/cocoapods-downloader.rb
  105 /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/downloader.rb
  106 /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/user_interface/error_report.rb
  107 /Library/Ruby/Gems/2.0.0/gems/colored-1.2/lib/colored.rb
  108 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/core_ui.rb
  109 /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/user_interface.rb
  110 /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods.rb
  111 /Library/Ruby/Gems/2.0.0/gems/claide-0.7.0/lib/claide/ansi/cursor.rb
  112 /Library/Ruby/Gems/2.0.0/gems/claide-0.7.0/lib/claide/ansi/graphics.rb
  113 /Library/Ruby/Gems/2.0.0/gems/claide-0.7.0/lib/claide/ansi/string_escaper.rb
  114 /Library/Ruby/Gems/2.0.0/gems/claide-0.7.0/lib/claide/ansi.rb
  115 /Library/Ruby/Gems/2.0.0/gems/claide-0.7.0/lib/claide/argument.rb
  116 /Library/Ruby/Gems/2.0.0/gems/claide-0.7.0/lib/claide/argv/parser.rb
  117 /Library/Ruby/Gems/2.0.0/gems/claide-0.7.0/lib/claide/argv.rb
  118 /Library/Ruby/Gems/2.0.0/gems/claide-0.7.0/lib/claide/command/banner/prettifier.rb
  119 /Library/Ruby/Gems/2.0.0/gems/claide-0.7.0/lib/claide/command/banner.rb
  120 /Library/Ruby/Gems/2.0.0/gems/claide-0.7.0/lib/claide/command/parser.rb
  121 /Library/Ruby/Gems/2.0.0/gems/claide-0.7.0/lib/claide/command/plugins_helper.rb
  122 /Library/Ruby/Gems/2.0.0/gems/claide-0.7.0/lib/claide/command/options.rb
  123 /Library/Ruby/Gems/2.0.0/gems/claide-0.7.0/lib/claide/command/shell_completion_helper/zsh_completion_generator.rb
  124 /Library/Ruby/Gems/2.0.0/gems/claide-0.7.0/lib/claide/command/shell_completion_helper.rb
  125 /Library/Ruby/Gems/2.0.0/gems/claide-0.7.0/lib/claide/command/validation_helper.rb
  126 /Library/Ruby/Gems/2.0.0/gems/claide-0.7.0/lib/claide/command.rb
  127 /Library/Ruby/Gems/2.0.0/gems/claide-0.7.0/lib/claide/informative_error.rb
  128 /Library/Ruby/Gems/2.0.0/gems/claide-0.7.0/lib/claide/help.rb
  129 /Library/Ruby/Gems/2.0.0/gems/claide-0.7.0/lib/claide/helper.rb
  130 /Library/Ruby/Gems/2.0.0/gems/claide-0.7.0/lib/claide/mixins.rb
  131 /Library/Ruby/Gems/2.0.0/gems/claide-0.7.0/lib/claide.rb
  132 /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/command/inter_process_communication.rb
  133 /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/executable.rb
  134 /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/command/lib.rb
  135 /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/command/list.rb
  136 /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/command/outdated.rb
  137 /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/command/project.rb
  138 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/etc.bundle
  139 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb
  140 /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/command/repo/push.rb
  141 /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/command/repo.rb
  142 /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/command/search.rb
  143 /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/command/setup.rb
  144 /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/command/spec.rb
  145 /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/command/init.rb
  146 /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/command/push.rb
  147 /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/command.rb
  148 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/uri/common.rb
  149 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/uri/generic.rb
  150 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/uri/ftp.rb
  151 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/uri/http.rb
  152 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/uri/https.rb
  153 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/uri/ldap.rb
  154 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/uri/ldaps.rb
  155 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/uri/mailto.rb
  156 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/uri.rb
  157 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/socket.bundle
  158 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/socket.rb
  159 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/timeout.rb
  160 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/protocol.rb
  161 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/zlib.bundle
  162 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http/exceptions.rb
  163 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http/header.rb
  164 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http/generic_request.rb
  165 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http/request.rb
  166 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http/requests.rb
  167 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http/response.rb
  168 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http/responses.rb
  169 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http/proxy_delta.rb
  170 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http/backward.rb
  171 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb
  172 /Library/Ruby/Gems/2.0.0/gems/nap-0.8.0/lib/rest/error.rb
  173 /Library/Ruby/Gems/2.0.0/gems/nap-0.8.0/lib/rest/request.rb
  174 /Library/Ruby/Gems/2.0.0/gems/nap-0.8.0/lib/rest/response.rb
  175 /Library/Ruby/Gems/2.0.0/gems/nap-0.8.0/lib/rest.rb
  176 /Library/Ruby/Gems/2.0.0/gems/json_pure-1.8.1/lib/json/version.rb
  177 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/ostruct.rb
  178 /Library/Ruby/Gems/2.0.0/gems/json_pure-1.8.1/lib/json/generic_object.rb
  179 /Library/Ruby/Gems/2.0.0/gems/json_pure-1.8.1/lib/json/common.rb
  180 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/enc/utf_16be.bundle
  181 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/enc/utf_16le.bundle
  182 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/enc/utf_32be.bundle
  183 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/enc/utf_32le.bundle
  184 /Library/Ruby/Gems/2.0.0/extensions/universal-darwin-13/2.0.0/json-1.8.1/json/ext/parser.bundle
  185 /Library/Ruby/Gems/2.0.0/extensions/universal-darwin-13/2.0.0/json-1.8.1/json/ext/generator.bundle
  186 /Library/Ruby/Gems/2.0.0/gems/json_pure-1.8.1/lib/json/ext.rb
  187 /Library/Ruby/Gems/2.0.0/gems/json_pure-1.8.1/lib/json.rb
  188 /Library/Ruby/Gems/2.0.0/gems/cocoapods-plugins-0.3.1/lib/pod/command/gem_index_cache.rb
  189 /Library/Ruby/Gems/2.0.0/gems/cocoapods-plugins-0.3.1/lib/pod/command/gem_helper.rb
  190 /Library/Ruby/Gems/2.0.0/gems/cocoapods-plugins-0.3.1/lib/pod/command/plugins_helper.rb
  191 /Library/Ruby/Gems/2.0.0/gems/cocoapods-plugins-0.3.1/lib/pod/command/plugins/list.rb
  192 /Library/Ruby/Gems/2.0.0/gems/cocoapods-plugins-0.3.1/lib/pod/command/plugins/search.rb
  193 /Library/Ruby/Gems/2.0.0/gems/cocoapods-plugins-0.3.1/lib/pod/command/plugins/create.rb
  194 /Library/Ruby/Gems/2.0.0/gems/cocoapods-plugins-0.3.1/lib/pod/command/plugins.rb
  195 /Library/Ruby/Gems/2.0.0/gems/cocoapods-plugins-0.3.1/lib/cocoapods_plugin.rb
  196 /Library/Ruby/Gems/2.0.0/gems/cocoapods-try-0.4.1/lib/pod/command/try.rb
  197 /Library/Ruby/Gems/2.0.0/gems/cocoapods-try-0.4.1/lib/cocoapods_plugin.rb
  198 /Library/Ruby/Gems/2.0.0/gems/netrc-0.7.7/lib/netrc.rb
  199 /Library/Ruby/Gems/2.0.0/gems/cocoapods-trunk-0.2.0/lib/pod/command/trunk.rb
  200 /Library/Ruby/Gems/2.0.0/gems/cocoapods-trunk-0.2.0/lib/cocoapods_plugin.rb
  201 /Library/Ruby/Gems/2.0.0/gems/cocoapods-try-release-fix-0.1.2/lib/cocoapods_plugin.rb
  202 /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/sources_manager.rb
  203 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/syntax_error.rb
  204 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/psych.bundle
  205 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/nodes/node.rb
  206 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/nodes/stream.rb
  207 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/nodes/document.rb
  208 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/nodes/sequence.rb
  209 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/nodes/scalar.rb
  210 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/nodes/mapping.rb
  211 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/nodes/alias.rb
  212 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/nodes.rb
  213 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/streaming.rb
  214 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/visitors/visitor.rb
  215 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/strscan.bundle
  216 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/scalar_scanner.rb
  217 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/visitors/to_ruby.rb
  218 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/visitors/emitter.rb
  219 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/visitors/yaml_tree.rb
  220 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/json/ruby_events.rb
  221 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/visitors/json_tree.rb
  222 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/visitors/depth_first.rb
  223 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/visitors.rb
  224 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/handler.rb
  225 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/tree_builder.rb
  226 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/parser.rb
  227 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/omap.rb
  228 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/set.rb
  229 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/coder.rb
  230 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/core_ext.rb
  231 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/deprecated.rb
  232 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/stream.rb
  233 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/json/yaml_events.rb
  234 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/json/tree_builder.rb
  235 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/json/stream.rb
  236 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych/handlers/document_stream.rb
  237 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/psych.rb
  238 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/yaml.rb
  239 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/yaml_helper.rb
  240 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/podfile/dsl.rb
  241 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/podfile/target_definition.rb
  242 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/podfile.rb
  243 /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/installer.rb
  244 /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/sandbox.rb
  245 /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/sandbox/headers_store.rb
  246 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/lockfile.rb
  247 /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/installer/migrator.rb
  248 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/version.rb
  249 /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/installer/analyzer.rb
  250 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/source/acceptor.rb
  251 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/source/aggregate.rb
  252 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/source/health_reporter.rb
  253 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/source/abstract_data_provider.rb
  254 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/source/file_system_data_provider.rb
  255 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/source.rb
  256 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/fcntl.bundle
  257 /Library/Ruby/Gems/2.0.0/gems/open4-1.3.0/lib/open4.rb
  258 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/digest.bundle
  259 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/digest.rb
  260 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/openssl.bundle
  261 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/openssl/bn.rb
  262 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/openssl/cipher.rb
  263 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/openssl/config.rb
  264 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/openssl/digest.rb
  265 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/openssl/x509.rb
  266 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/openssl/buffering.rb
  267 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/openssl/ssl.rb
  268 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/openssl.rb
  269 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/securerandom.rb
  270 /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj/project/case_converter.rb
  271 /Library/Ruby/Gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/inflector.rb
  272 /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj/project/object_attributes.rb
  273 /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj/project/object_dictionary.rb
  274 /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj/project/object_list.rb
  275 /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj/constants.rb
  276 /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj/project/object/build_configuration.rb
  277 /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj/project/object/build_file.rb
  278 /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj/project/object/build_phase.rb
  279 /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj/project/object/build_rule.rb
  280 /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj/project/object/configuration_list.rb
  281 /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj/project/object/container_item_proxy.rb
  282 /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj/project/object/helpers/groupable_helper.rb
  283 /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj/project/object/file_reference.rb
  284 /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj/project/object/helpers/file_references_factory.rb
  285 /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj/project/object/group.rb
  286 /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj/project/object/native_target.rb
  287 /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj/project/object/root_object.rb
  288 /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj/project/object/target_dependency.rb
  289 /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj/project/object/reference_proxy.rb
  290 /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj/project/object.rb
  291 /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj/project/project_helper.rb
  292 /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj/project/xcproj_helper.rb
  293 /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj/project.rb
  294 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/enc/euc_jp.bundle
  295 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/enc/shift_jis.bundle
  296 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/nkf.bundle
  297 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/kconv.rb
  298 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/CFPropertyList-2.2.0/lib/rbCFPlistError.rb
  299 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/CFPropertyList-2.2.0/lib/rbCFTypes.rb
  300 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/CFPropertyList-2.2.0/lib/rbBinaryCFPropertyList.rb
  301 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/libxml-ruby-2.6.0/lib/libxml_ruby.bundle
  302 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/libxml-ruby-2.6.0/lib/libxml/error.rb
  303 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/libxml-ruby-2.6.0/lib/libxml/parser.rb
  304 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/libxml-ruby-2.6.0/lib/libxml/document.rb
  305 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/libxml-ruby-2.6.0/lib/libxml/namespaces.rb
  306 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/libxml-ruby-2.6.0/lib/libxml/namespace.rb
  307 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/libxml-ruby-2.6.0/lib/libxml/node.rb
  308 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/libxml-ruby-2.6.0/lib/libxml/ns.rb
  309 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/libxml-ruby-2.6.0/lib/libxml/attributes.rb
  310 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/libxml-ruby-2.6.0/lib/libxml/attr.rb
  311 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/libxml-ruby-2.6.0/lib/libxml/attr_decl.rb
  312 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/libxml-ruby-2.6.0/lib/libxml/tree.rb
  313 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/libxml-ruby-2.6.0/lib/libxml/reader.rb
  314 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/libxml-ruby-2.6.0/lib/libxml/html_parser.rb
  315 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/libxml-ruby-2.6.0/lib/libxml/sax_parser.rb
  316 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/libxml-ruby-2.6.0/lib/libxml/sax_callbacks.rb
  317 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/libxml-ruby-2.6.0/lib/libxml/xpath_object.rb
  318 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/libxml-ruby-2.6.0/lib/libxml/schema.rb
  319 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/libxml-ruby-2.6.0/lib/libxml/schema/type.rb
  320 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/libxml-ruby-2.6.0/lib/libxml/schema/element.rb
  321 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/libxml-ruby-2.6.0/lib/libxml/schema/attribute.rb
  322 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/libxml-ruby-2.6.0/lib/libxml/properties.rb
  323 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/libxml-ruby-2.6.0/lib/libxml.rb
  324 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/CFPropertyList-2.2.0/lib/rbLibXMLParser.rb
  325 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/CFPropertyList-2.2.0/lib/rbCFPropertyList.rb
  326 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/CFPropertyList-2.2.0/lib/cfpropertylist.rb
  327 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open3.rb
  328 /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.19.2/lib/xcodeproj/plist_helper.rb
  329 /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/platform.rb

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

Abort trap: 6
brennanMKE commented 10 years ago

I am running the latest updates on Mavericks, fyi.

alloy commented 10 years ago

Another report in https://github.com/CocoaPods/Xcodeproj/issues/193.

kylef commented 10 years ago

I believe the crash via CFPropertyList is a bug in libxml-ruby (shipped with OS X, which is the latest released version). Seems that making CFPropertyList use the REXML parser resolves the issue for me.

alloy commented 10 years ago

Can everybody please test if adding the following to the top of your Podfile fixes the issue?

require 'cfpropertylist'
require 'cfpropertylist/rbREXMLParser'
def CFPropertyList.xml_parser_interface
  CFPropertyList::ReXMLParser
end

NOTE: This is a stopgap solution while we look into a better solution.

alloy commented 10 years ago

Sorry, scratch that one, please try this one instead:

require 'CFPropertyList'
require 'CFPropertyList/rbNokogiriParser'
def CFPropertyList.xml_parser_interface
  CFPropertyList::NokogiriXMLParser
end
clockett commented 10 years ago

After adding that I am getting this error: LoadError - cannot load such file -- CFPropertyList/rbNokogiriParser

alloy commented 10 years ago

@clockett Interesting, can it be that you are not using the system supplied Ruby? In any case, can you try the following snippet instead?

(If you are on Mavericks you will first have to perform $ [sudo] gem install CFPropertyList -v=2.2.8)

require 'cfpropertylist'
begin
  require 'cfpropertylist/rbNokogiriParser'
  def CFPropertyList.xml_parser_interface
    CFPropertyList::NokogiriXMLParser
  end
rescue LoadError
  require 'cfpropertylist/rbREXMLParser'
  def CFPropertyList.xml_parser_interface
    CFPropertyList::ReXMLParser
  end
end
clockett commented 10 years ago

Originally I thought my issue was related to 2560 so I tried the workaround suggested there. 'ruby -v' shows: ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin13]

With the change above I get: LoadError - cannot load such file -- CFPropertyList/rbREXMLParser

lephukhanhhuy commented 10 years ago

I had this issue and can't run "pod install". I tried the stopgap solution of @alloy and now it is able to run "pod install". Thank Alloy.

alloy commented 10 years ago

@lephukhanhhuy Please do not litter tickets with unrelated issues. Try searching for other tickets that are actually related instead. I’m removing the noise from your comment.

alloy commented 10 years ago

@lephukhanhhuy Thanks for the verification!

alloy commented 10 years ago

@clockett This is really weird. Can you please run the following commands and paste your output? (I already read that you are on Mavericks, so the first entry should be different, but I expected the others to be similar.)

$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.10
BuildVersion:   14A379a
$ which ruby
/usr/bin/ruby
$ ruby --version 
ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14]
$ which gem
/usr/bin/gem
$ gem which CFPropertyList
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/CFPropertyList-2.2.8/lib/CFPropertyList.rb
$ gem which nokogiri
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/nokogiri-1.5.6/lib/nokogiri.rb
alloy commented 10 years ago

@clockett Ah I think I know what might be going on. You probably have CFPropertyList 2.2.0, which is the version that came with 10.9 and it has a different directory layout: https://github.com/ckruse/CFPropertyList/tree/cfpropertylist-2.2/lib.

I could try to make this work, but it would likely require more ugly hacks than I can live with and since installing a newer version of the gem should be simple enough, I think we’ll just bump the dependency to at least 2.2.8, which is the version that comes with Yosemite.

In case the above commands show that you have indeed CFPropertyList 2.2.0, can you see if my snippet works after performing:

$ [sudo] gem install CFPropertyList -v=2.2.8
muddsariqbal commented 10 years ago

@alloy i am having same issue as clockett. i am trying the fix you mentioned above. after instally new version for CFPropertyList i run pod install and i get the below error

Analyzing dependencies /Library/Ruby/Gems/2.0.0/gems/CFPropertyList-2.2.8/lib/cfpropertylist/rbCFPropertyList.rb:248: [BUG] Segmentation fault ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin13]

-- Crash Report log information -------------------------------------------- See Crash Report log file under the one of following: * ~/Library/Logs/CrashReporter * /Library/Logs/CrashReporter * ~/Library/Logs/DiagnosticReports * /Library/Logs/DiagnosticReports the more detail of.

-- Control frame information ----------------------------------------------- c:0024 p:0070 s:0098 e:000097 METHOD /Library/Ruby/Gems/2.0.0/gems/CFPropertyList-2.2.8/lib/cfpropertylist/rbCFPropertyList.rb:248 [FINISH] c:0023 p:---- s:0094 e:000093 CFUNC :new

alloy commented 10 years ago

@muddsariqbal Did you also add this snippet to the top of your Podfile? https://github.com/CocoaPods/CocoaPods/issues/2483#issuecomment-57510651

muddsariqbal commented 10 years ago

@alloy ...yes please find below podfile

require 'CFPropertyList' begin require 'CFPropertyList/rbNokogiriParser' def CFPropertyList.xml_parser_interface CFPropertyList::NokogiriXMLParser end rescue LoadError require 'CFPropertyList/rbREXMLParser' def CFPropertyList.xml_parser_interface CFPropertyList::ReXMLParser end end

platform :ios, '6.0'

pod 'JSONModel', '0.12.0' pod 'MagicalRecord'

muddsariqbal commented 10 years ago

@alloy some more info...

$ sw_vers ProductName: Mac OS X ProductVersion: 10.9.5 BuildVersion: 13F34 $ which ruby /usr/bin/ruby $ ruby --version ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin13] $ which gem /usr/bin/gem $ gem which CFPropertyList /Library/Ruby/Gems/2.0.0/gems/CFPropertyList-2.2.8/lib/CFPropertyList.rb $ gem which nokogiri /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/nokogiri-1.5.6/lib/nokogiri.rb

alloy commented 10 years ago

@muddsariqbal Can you please post a link to a gist containing the full error report?

muddsariqbal commented 10 years ago

@alloy ...please find below

https://gist.github.com/muddsariqbal/80cef9b9dfca50b6a6e3

alloy commented 10 years ago

@muddsariqbal Thank you. In your case you can probably at least work around it with this snippet instead: https://github.com/CocoaPods/CocoaPods/issues/2483#issuecomment-57505048

muddsariqbal commented 10 years ago

@alloy .....none of the snippet above works for me, gets same crash report i pasted above....i will keep trying and will update you if there is something new.....Thanks for the help

alloy commented 10 years ago

@kylef @klundberg @brennanMKE I really need your testing feedback on trying this snippet in your Podfile https://github.com/CocoaPods/CocoaPods/issues/2483#issuecomment-57510651, or otherwise this one https://github.com/CocoaPods/CocoaPods/issues/2483#issuecomment-57505048.

alloy commented 10 years ago

@muddsariqbal Thanks for taking the time! I think will have to spend the rest of my day debugging the underlying cause and/or come up with another fix.

clockett commented 10 years ago

I installed CFPropertyList 2.2.8 along with adding the lines to my Podfile I and am still seeing the same error from ‘pod update’.

Here’s my output for the commands:

sw_vers
ProductName:    Mac OS X
ProductVersion: 10.9.5
BuildVersion:   13F34
which ruby
/usr/bin/ruby
ruby --version
ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin13]
which gem
/usr/bin/gem
gem which CFPropertyList
/Library/Ruby/Gems/2.0.0/gems/CFPropertyList-2.2.8/lib/CFPropertyList.rb
gem which nokogiri
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0/gems/nokogiri-1.5.6/lib/nokogiri.rb

I'm not blocked on this right now because I have another mac to work on and I went back to the previous version of cocoapods on it so let me know if you want me to try anything else.

alloy commented 10 years ago

@clockett Thanks for the update and also letting me know that you have your own stopgap solution. I’m looking into fixing this in a radical different way, as this is proving too fragile to depend on.

klundberg commented 10 years ago

I'll try to reproduce this, but I was having trouble getting my gems to reference system ruby after i did a brew uninstall ruby. I might have time in the next couple days to try this.

alloy commented 10 years ago

@klundberg I pretty much lost all faith in these gems (which we decided to use because Apple includes them by default). So I’m currently looking into an alternative, please stay tuned and thanks for the update.