diff --git a/lib/motion/project/plist.rb b/lib/motion/project/plist.rb index a9313fb1..c5328ec0 100644 --- a/lib/motion/project/plist.rb +++ b/lib/motion/project/plist.rb @@ -46,6 +46,7 @@ EOS when Hash str << indent_line("", indent) plist.each do |key, val| + key = key.to_s if key.is_a?(Symbol) raise "Hash key must be a string" unless key.is_a?(String) str << indent_line("#{key}", indent + 1) cat_element(val, str, indent + 1)