CocoaPods/Xcodeproj — pull request #155 by alessandroorru (2014-05-21 14:16:50+00:00)
Title: Fixes adding a project to a workspace

Since version 0.17.0, workspace.rb uses new FileReference system instead of string paths (#150), but there was a bug when executing “<<“ method:

/Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.17.0/lib/xcodeproj/workspace.rb:75:in `<<':
undefined method `path' for "MyProject.xcodeproj":String (NoMethodError)

Method “<<“ was missing a conversion from the input string path to a FileReference instance.