{"action":"created","issue":{"url":"https://api.github.com/repos/CocoaPods/Xcodeproj/issues/417","repository_url":"https://api.github.com/repos/CocoaPods/Xcodeproj","labels_url":"https://api.github.com/repos/CocoaPods/Xcodeproj/issues/417/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/Xcodeproj/issues/417/comments","events_url":"https://api.github.com/repos/CocoaPods/Xcodeproj/issues/417/events","html_url":"https://github.com/CocoaPods/Xcodeproj/issues/417","id":177035582,"number":417,"title":"Lost ability to mutate Xcodeproj::Workspace.file_references","user":{"login":"jpsim","id":474794,"avatar_url":"https://avatars.githubusercontent.com/u/474794?v=3","gravatar_id":"","url":"https://api.github.com/users/jpsim","html_url":"https://github.com/jpsim","followers_url":"https://api.github.com/users/jpsim/followers","following_url":"https://api.github.com/users/jpsim/following{/other_user}","gists_url":"https://api.github.com/users/jpsim/gists{/gist_id}","starred_url":"https://api.github.com/users/jpsim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpsim/subscriptions","organizations_url":"https://api.github.com/users/jpsim/orgs","repos_url":"https://api.github.com/users/jpsim/repos","events_url":"https://api.github.com/users/jpsim/events{/privacy}","received_events_url":"https://api.github.com/users/jpsim/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-14T22:11:26Z","updated_at":"2016-09-26T16:58:51Z","closed_at":"2016-09-26T16:58:51Z","body":"Has this been made immutable in the last few versions? We used to have this code that removed references to `Realm.xcodeproj` in a workspace, and it no longer works:\r\n\r\n```ruby\r\ndef remove_reference_to_realm_xcode_project(workspace_path)\r\n  old_workspace = Xcodeproj::Workspace.new_from_xcworkspace(workspace_path)\r\n  old_workspace.file_references.reject! do |file_reference|\r\n    file_reference.path == \"../../../Realm.xcodeproj\"\r\n  end\r\n\r\n  File.open(\"#{workspace_path}/contents.xcworkspacedata\", \"w\") do |file|\r\n    file.puts old_workspace\r\n  end\r\nend\r\n```"},"comment":{"url":"https://api.github.com/repos/CocoaPods/Xcodeproj/issues/comments/249630179","html_url":"https://github.com/CocoaPods/Xcodeproj/issues/417#issuecomment-249630179","issue_url":"https://api.github.com/repos/CocoaPods/Xcodeproj/issues/417","id":249630179,"user":{"login":"jpsim","id":474794,"avatar_url":"https://avatars.githubusercontent.com/u/474794?v=3","gravatar_id":"","url":"https://api.github.com/users/jpsim","html_url":"https://github.com/jpsim","followers_url":"https://api.github.com/users/jpsim/followers","following_url":"https://api.github.com/users/jpsim/following{/other_user}","gists_url":"https://api.github.com/users/jpsim/gists{/gist_id}","starred_url":"https://api.github.com/users/jpsim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpsim/subscriptions","organizations_url":"https://api.github.com/users/jpsim/orgs","repos_url":"https://api.github.com/users/jpsim/repos","events_url":"https://api.github.com/users/jpsim/events{/privacy}","received_events_url":"https://api.github.com/users/jpsim/received_events","type":"User","site_admin":false},"created_at":"2016-09-26T16:58:51Z","updated_at":"2016-09-26T16:58:51Z","body":"ok, thanks @benasher44 "}}
{"actor":{"display_login":"jpsim"}}