{"action":"opened","issue":{"url":"https://api.github.com/repos/CocoaPods/Nanaimo/issues/8","repository_url":"https://api.github.com/repos/CocoaPods/Nanaimo","labels_url":"https://api.github.com/repos/CocoaPods/Nanaimo/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/Nanaimo/issues/8/comments","events_url":"https://api.github.com/repos/CocoaPods/Nanaimo/issues/8/events","html_url":"https://github.com/CocoaPods/Nanaimo/issues/8","id":186173553,"number":8,"title":"Saving a Cordova .pbxproj breaks","user":{"login":"rocco","id":114892,"avatar_url":"https://avatars.githubusercontent.com/u/114892?v=3","gravatar_id":"","url":"https://api.github.com/users/rocco","html_url":"https://github.com/rocco","followers_url":"https://api.github.com/users/rocco/followers","following_url":"https://api.github.com/users/rocco/following{/other_user}","gists_url":"https://api.github.com/users/rocco/gists{/gist_id}","starred_url":"https://api.github.com/users/rocco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rocco/subscriptions","organizations_url":"https://api.github.com/users/rocco/orgs","repos_url":"https://api.github.com/users/rocco/repos","events_url":"https://api.github.com/users/rocco/events{/privacy}","received_events_url":"https://api.github.com/users/rocco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-30T23:31:59Z","updated_at":"2016-10-30T23:31:59Z","closed_at":null,"body":"I use xcodeproj 1.4.0 (which uses Nanaimo since this version) in a fastlane setup to build a Cordova project. Parsing works after I manually fix the project.pbxproj (there some paths are missing \" in the [Cordova template](https://github.com/apache/cordova-ios/blob/master/bin/templates/project/__TEMP__.xcodeproj/project.pbxproj) - lines 50 ff.)\r\n\r\nHowever, writing the .pbxproj fails as follows. It's a bit hard to say if this is a bug in the .pbxproj or not, seems like an _empty_ object appears there and Nanaimo breaks:\r\n\r\n```\r\n/Users/Rocco/.rvm/gems/ruby-2.1.5/gems/nanaimo-0.1.2/lib/nanaimo/writer.rb:63:in `write_object': [!] Cannot write  to an ascii plist (RuntimeError)\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/nanaimo-0.1.2/lib/nanaimo/writer.rb:140:in `write_dictionary_key_value_pair'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/nanaimo-0.1.2/lib/nanaimo/xcode_project_writer.rb:41:in `write_dictionary_key_value_pair'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/nanaimo-0.1.2/lib/nanaimo/writer.rb:119:in `block in write_dictionary'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/nanaimo-0.1.2/lib/nanaimo/writer.rb:118:in `each'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/nanaimo-0.1.2/lib/nanaimo/writer.rb:118:in `write_dictionary'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/nanaimo-0.1.2/lib/nanaimo/xcode_project_writer.rb:19:in `write_dictionary'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/nanaimo-0.1.2/lib/nanaimo/writer.rb:55:in `write_object'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/nanaimo-0.1.2/lib/nanaimo/writer.rb:140:in `write_dictionary_key_value_pair'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/nanaimo-0.1.2/lib/nanaimo/xcode_project_writer.rb:41:in `write_dictionary_key_value_pair'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/nanaimo-0.1.2/lib/nanaimo/writer.rb:119:in `block in write_dictionary'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/nanaimo-0.1.2/lib/nanaimo/writer.rb:118:in `each'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/nanaimo-0.1.2/lib/nanaimo/writer.rb:118:in `write_dictionary'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/nanaimo-0.1.2/lib/nanaimo/xcode_project_writer.rb:19:in `write_dictionary'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/nanaimo-0.1.2/lib/nanaimo/writer.rb:55:in `write_object'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/nanaimo-0.1.2/lib/nanaimo/writer.rb:140:in `write_dictionary_key_value_pair'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/nanaimo-0.1.2/lib/nanaimo/xcode_project_writer.rb:41:in `write_dictionary_key_value_pair'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/nanaimo-0.1.2/lib/nanaimo/xcode_project_writer.rb:29:in `block (2 levels) in write_dictionary'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/nanaimo-0.1.2/lib/nanaimo/xcode_project_writer.rb:28:in `each'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/nanaimo-0.1.2/lib/nanaimo/xcode_project_writer.rb:28:in `block in write_dictionary'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/nanaimo-0.1.2/lib/nanaimo/xcode_project_writer.rb:24:in `each'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/nanaimo-0.1.2/lib/nanaimo/xcode_project_writer.rb:24:in `write_dictionary'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/nanaimo-0.1.2/lib/nanaimo/writer.rb:55:in `write_object'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/nanaimo-0.1.2/lib/nanaimo/writer.rb:140:in `write_dictionary_key_value_pair'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/nanaimo-0.1.2/lib/nanaimo/xcode_project_writer.rb:41:in `write_dictionary_key_value_pair'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/nanaimo-0.1.2/lib/nanaimo/writer.rb:119:in `block in write_dictionary'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/nanaimo-0.1.2/lib/nanaimo/writer.rb:118:in `each'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/nanaimo-0.1.2/lib/nanaimo/writer.rb:118:in `write_dictionary'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/nanaimo-0.1.2/lib/nanaimo/xcode_project_writer.rb:19:in `write_dictionary'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/nanaimo-0.1.2/lib/nanaimo/writer.rb:55:in `write_object'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/nanaimo-0.1.2/lib/nanaimo/writer.rb:29:in `write'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/xcodeproj-1.4.0/lib/xcodeproj/project.rb:353:in `block in save'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/xcodeproj-1.4.0/lib/xcodeproj/project.rb:353:in `open'\r\n\tfrom /Users/Rocco/.rvm/gems/ruby-2.1.5/gems/xcodeproj-1.4.0/lib/xcodeproj/project.rb:353:in `save'\r\n\tfrom Fastfile:93:in `block (2 levels) in parsing_binding'\r\n```\r\n\r\nAny idea if this is a Nanaimo issue or an error in the Cordova-generated .pbxproj file?"}}
{"actor":{"display_login":"rocco"}}