Skip to content
Browse files

Don't crash if Xcodeproj plist generation fails #675

  • Loading branch information...
1 parent c261fe9 commit ba943b5ed3734f4f6190e9be071bdeadddff511d @xslim committed Dec 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/cocoapods/generator/acknowledgements/plist.rb
View
2 lib/cocoapods/generator/acknowledgements/plist.rb
@@ -8,7 +8,7 @@ def save_as(path)
if (path.extname != ".plist")
path = Pathname.new(path.dirname + "#{path.basename.to_s}.plist")
end
- Xcodeproj.write_plist(plist, path)
+ Xcodeproj.write_plist(plist, path) rescue nil
end
def plist

0 comments on commit ba943b5

Please sign in to comment.
Something went wrong with that request. Please try again.