{"action":"created","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/6104","repository_url":"https://api.github.com/repos/CocoaPods/CocoaPods","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/6104/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/6104/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/6104/events","html_url":"https://github.com/CocoaPods/CocoaPods/issues/6104","id":186078521,"number":6104,"title":"Error installing pods after updating xcodeproj","user":{"login":"beloso","id":450923,"avatar_url":"https://avatars.githubusercontent.com/u/450923?v=3","gravatar_id":"","url":"https://api.github.com/users/beloso","html_url":"https://github.com/beloso","followers_url":"https://api.github.com/users/beloso/followers","following_url":"https://api.github.com/users/beloso/following{/other_user}","gists_url":"https://api.github.com/users/beloso/gists{/gist_id}","starred_url":"https://api.github.com/users/beloso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beloso/subscriptions","organizations_url":"https://api.github.com/users/beloso/orgs","repos_url":"https://api.github.com/users/beloso/repos","events_url":"https://api.github.com/users/beloso/events{/privacy}","received_events_url":"https://api.github.com/users/beloso/received_events","type":"User","site_admin":false},"labels":[{"id":60951604,"url":"https://api.github.com/repos/CocoaPods/CocoaPods/labels/s1:awaiting%20input","name":"s1:awaiting input","color":"EDCE24","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-10-29T13:25:48Z","updated_at":"2016-11-10T13:53:06Z","closed_at":null,"body":"🌈\n- [x] I've read and understood the [*CONTRIBUTING guidelines and have done my best effort to follow](https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md). \n  # Report\n### Command\n\n```\n/Users/tveloso/.rbenv/versions/2.2.3/bin/pod install\n```\n### Report\n- What did you do?\n\nRan `bundle update`, then `pod update`.\n- What did you expect to happen?\n\nPods to be installed without problems\n- What happened instead?\n\nAn error due to the latest version of Xcodeproj (1.4.0) I think.\nI claims it can write to an Ascii plist file\n\nI've posted a redacted version of my podfile.\n### Stack\n\n```\n   CocoaPods : 1.1.1\n        Ruby : ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin15]\n    RubyGems : 2.6.7\n        Host : Mac OS X 10.12 (16A323)\n       Xcode : 8.0 (8A218a)\n         Git : git version 2.10.1\nRuby lib dir : /Users/tveloso/.rbenv/versions/2.2.3/lib\nRepositories : redacted-podspecs - git@gitlab.redacted.com:ios/redacted-podspecs.git @ afa0abd5d370a3b5782d4f24aa3b35b2dd1641c8\n               master - https://github.com/CocoaPods/Specs.git @ bc15e82ef4cf2e8b5ccc3a13e0154940bd099a2d\n```\n### Plugins\n\n```\ncocoapods-clean       : 0.0.1\ncocoapods-deintegrate : 1.0.1\ncocoapods-plugins     : 1.0.0\ncocoapods-search      : 1.0.0\ncocoapods-stats       : 1.0.0\ncocoapods-trunk       : 1.1.1\ncocoapods-try         : 1.1.0\nslather               : 2.3.0\n```\n### Podfile\n\n``` ruby\nsource 'https://github.com/CocoaPods/Specs.git'\nsource 'git@gitlab.redacted.com:ios/redacted-podspecs.git'\n\nplatform :ios, '8.0'\n\ntarget 'redacted' do\n  pod 'redactedSDK', '0.20.5'\n  pod 'AFNetworkActivityLumberjackLogger', :git => 'https://github.com/crsantos/AFNetworkActivityLumberjackLogger', :branch => 'feature/afnetworking3'\n  pod 'Fabric'\n  pod 'Crashlytics'\n  pod 'FBSDKShareKit'\n  pod 'FBSDKLoginKit'\n  pod 'CWStatusBarNotification'\n  pod 'ASMediaFocusManager', :git => 'https://github.com/autresphere/ASMediaFocusManager', :commit => '3eb1f228305b125619dcda161468f4f17a45de95'\n  pod 'DeepLinkKit', '~> 1.2.0'\n  pod 'CYWheelPickerView'\n  pod 'UIImageViewAligned'\n  pod 'MMPReactiveCoreLocation'\n\n  target 'redactedTests' do\n    inherit! :search_paths\n\n    pod 'Specta'\n    pod 'Expecta'\n    pod 'OCMockito'\n    pod 'Expecta+OCMock'\n    pod 'OHHTTPStubs'\n  end\nend\n\npost_install do |installer|\n  use_lumberjack_with_mqtt_client(installer)\n\n  rebuild_preprocessor_macros(installer)\nend\n\n######################################################################\n# Use CocoaLumberjack with MQTTClient\n\ndef use_lumberjack_with_mqtt_client(installer)\n\n  installer.pods_project.targets.each do |target|\n    if target.name == \"MQTTClient\"\n      target.build_configurations.each do |config|\n        config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', 'LUMBERJACK=1']\n      end\n    end\n  end\nend\n\n######################################################################\n# Rebuilds preprocessor macros for SDK pod\ndef rebuild_preprocessor_macros(installer)\n\n  macros = {\n    'Debug' => 'DEBUG=1',\n    'InHouse' => 'INHOUSE=1',\n    'AppStore' => 'APPSTORE=1',\n    'Release' => ''\n  }\n\n  installer.pods_project.targets.each do |target|\n    if target.name == \"redactedSDK\"\n      puts \"Rebuilding preprocessor macros for \" + target.name\n      target.build_configurations.each do |config|\n        config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', macros[config.name]]\n      end\n    end\n  end\nend\n```\n### Error\n\n```\nRuntimeError - Cannot write  to an ascii plist\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/writer.rb:63:in `write_object'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/writer.rb:110:in `write_array_element'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/writer.rb:91:in `block in write_array'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/writer.rb:90:in `each'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/writer.rb:90:in `write_array'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/writer.rb:53:in `write_object'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/writer.rb:140:in `write_dictionary_key_value_pair'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/xcode_project_writer.rb:41:in `write_dictionary_key_value_pair'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/writer.rb:119:in `block in write_dictionary'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/writer.rb:118:in `each'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/writer.rb:118:in `write_dictionary'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/xcode_project_writer.rb:19:in `write_dictionary'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/writer.rb:55:in `write_object'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/writer.rb:140:in `write_dictionary_key_value_pair'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/xcode_project_writer.rb:41:in `write_dictionary_key_value_pair'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/writer.rb:119:in `block in write_dictionary'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/writer.rb:118:in `each'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/writer.rb:118:in `write_dictionary'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/xcode_project_writer.rb:19:in `write_dictionary'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/writer.rb:55:in `write_object'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/writer.rb:140:in `write_dictionary_key_value_pair'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/xcode_project_writer.rb:41:in `write_dictionary_key_value_pair'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/xcode_project_writer.rb:29:in `block (2 levels) in write_dictionary'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/xcode_project_writer.rb:28:in `each'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/xcode_project_writer.rb:28:in `block in write_dictionary'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/xcode_project_writer.rb:24:in `each'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/xcode_project_writer.rb:24:in `write_dictionary'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/writer.rb:55:in `write_object'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/writer.rb:140:in `write_dictionary_key_value_pair'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/xcode_project_writer.rb:41:in `write_dictionary_key_value_pair'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/writer.rb:119:in `block in write_dictionary'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/writer.rb:118:in `each'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/writer.rb:118:in `write_dictionary'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/xcode_project_writer.rb:19:in `write_dictionary'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/writer.rb:55:in `write_object'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/nanaimo-0.1.1/lib/nanaimo/writer.rb:29:in `write'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/xcodeproj-1.4.0/lib/xcodeproj/project.rb:353:in `block in save'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/xcodeproj-1.4.0/lib/xcodeproj/project.rb:353:in `open'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/xcodeproj-1.4.0/lib/xcodeproj/project.rb:353:in `save'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/cocoapods-1.1.1/lib/cocoapods/installer/xcode/pods_project_generator.rb:77:in `block in write'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/cocoapods-1.1.1/lib/cocoapods/user_interface.rb:142:in `message'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/cocoapods-1.1.1/lib/cocoapods/installer/xcode/pods_project_generator.rb:69:in `write'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/cocoapods-1.1.1/lib/cocoapods/installer.rb:182:in `block in generate_pods_project'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/cocoapods-1.1.1/lib/cocoapods/user_interface.rb:64:in `section'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/cocoapods-1.1.1/lib/cocoapods/installer.rb:178:in `generate_pods_project'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/cocoapods-1.1.1/lib/cocoapods/installer.rb:115:in `install!'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/cocoapods-1.1.1/lib/cocoapods/command/install.rb:37:in `run'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/claide-1.0.1/lib/claide/command.rb:334:in `run'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/cocoapods-1.1.1/lib/cocoapods/command.rb:50:in `run'\n/Users/tveloso/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/cocoapods-1.1.1/bin/pod:55:in `<top (required)>'\n/Users/tveloso/.rbenv/versions/2.2.3/bin/pod:22:in `load'\n/Users/tveloso/.rbenv/versions/2.2.3/bin/pod:22:in `<main>'\n```\n"},"comment":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/comments/259694891","html_url":"https://github.com/CocoaPods/CocoaPods/issues/6104#issuecomment-259694891","issue_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/6104","id":259694891,"user":{"login":"beloso","id":450923,"avatar_url":"https://avatars.githubusercontent.com/u/450923?v=3","gravatar_id":"","url":"https://api.github.com/users/beloso","html_url":"https://github.com/beloso","followers_url":"https://api.github.com/users/beloso/followers","following_url":"https://api.github.com/users/beloso/following{/other_user}","gists_url":"https://api.github.com/users/beloso/gists{/gist_id}","starred_url":"https://api.github.com/users/beloso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beloso/subscriptions","organizations_url":"https://api.github.com/users/beloso/orgs","repos_url":"https://api.github.com/users/beloso/repos","events_url":"https://api.github.com/users/beloso/events{/privacy}","received_events_url":"https://api.github.com/users/beloso/received_events","type":"User","site_admin":false},"created_at":"2016-11-10T13:53:06Z","updated_at":"2016-11-10T13:53:06Z","body":"I haven't forgotten about this. It's a chaotic time for me to prepare the `Pods.xcodeproj`. I need to remove references to a private pod that I can't disclose.\r\n\r\nI'll try to get to this next week."}}
{"actor":{"display_login":"beloso"}}