{"action":"closed","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3529","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3529/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3529/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3529/events","html_url":"https://github.com/CocoaPods/CocoaPods/issues/3529","id":73896239,"number":3529,"title":"Post-install hook: Permission denied","user":{"login":"mikaoj","id":4034956,"avatar_url":"https://avatars.githubusercontent.com/u/4034956?v=3","gravatar_id":"","url":"https://api.github.com/users/mikaoj","html_url":"https://github.com/mikaoj","followers_url":"https://api.github.com/users/mikaoj/followers","following_url":"https://api.github.com/users/mikaoj/following{/other_user}","gists_url":"https://api.github.com/users/mikaoj/gists{/gist_id}","starred_url":"https://api.github.com/users/mikaoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikaoj/subscriptions","organizations_url":"https://api.github.com/users/mikaoj/orgs","repos_url":"https://api.github.com/users/mikaoj/repos","events_url":"https://api.github.com/users/mikaoj/events{/privacy}","received_events_url":"https://api.github.com/users/mikaoj/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/labels/t3:discussion","name":"t3:discussion","color":"E10288"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-07T08:28:56Z","updated_at":"2015-07-25T19:47:41Z","closed_at":"2015-07-25T19:47:41Z","body":"We have a post-install step which removes AFNetworkings UIImageView category:\r\n```ruby\r\n    pod.source_files.each do |pathname|\r\n        if pathname.to_s.include? \"/AFNetworking/UIImageView\"\r\n            File.open(pathname, 'w').write(\"/* REMOVED USE SDWEBIMAGE INSTEAD */\")\r\n        end\r\n    end\r\n```\r\n\r\nAs of 0.37 (0.37.0 and 0.37.1) this no longer works:\r\n```\r\nPermission denied - /PATH_TO_APP/Pods/AFNetworking/AFNetworking/UIImageView+AFNetworking.h\r\n```"}}