{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/44191","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/44191/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/44191/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/44191/events","html_url":"https://github.com/Homebrew/homebrew/issues/44191","id":107404204,"number":44191,"title":"Unclear error message re: Xcode/iOS","user":{"login":"jasonhemann","id":1329370,"avatar_url":"https://avatars.githubusercontent.com/u/1329370?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonhemann","html_url":"https://github.com/jasonhemann","followers_url":"https://api.github.com/users/jasonhemann/followers","following_url":"https://api.github.com/users/jasonhemann/following{/other_user}","gists_url":"https://api.github.com/users/jasonhemann/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonhemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonhemann/subscriptions","organizations_url":"https://api.github.com/users/jasonhemann/orgs","repos_url":"https://api.github.com/users/jasonhemann/repos","events_url":"https://api.github.com/users/jasonhemann/events{/privacy}","received_events_url":"https://api.github.com/users/jasonhemann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-20T16:52:22Z","updated_at":"2015-09-20T17:26:56Z","closed_at":null,"body":"It's unclear how to resolve an error message while upgrading \r\n\r\n$ brew upgrade \r\n\r\nAgreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.\r\n\r\nError: Failure while executing: /usr/bin/otool -L /usr/bin/install_name_tool\r\n$ sudo brew upgrade \r\nError: Cowardly refusing to `sudo brew upgrade`\r\nYou can use brew with sudo, but only if the brew executable is owned by root.\r\nHowever, this is both not recommended and completely unsupported so do so at\r\nyour own risk.\r\n"},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/141812378","html_url":"https://github.com/Homebrew/homebrew/issues/44191#issuecomment-141812378","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/44191","id":141812378,"user":{"login":"DomT4","id":6998367,"avatar_url":"https://avatars.githubusercontent.com/u/6998367?v=3","gravatar_id":"","url":"https://api.github.com/users/DomT4","html_url":"https://github.com/DomT4","followers_url":"https://api.github.com/users/DomT4/followers","following_url":"https://api.github.com/users/DomT4/following{/other_user}","gists_url":"https://api.github.com/users/DomT4/gists{/gist_id}","starred_url":"https://api.github.com/users/DomT4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DomT4/subscriptions","organizations_url":"https://api.github.com/users/DomT4/orgs","repos_url":"https://api.github.com/users/DomT4/repos","events_url":"https://api.github.com/users/DomT4/events{/privacy}","received_events_url":"https://api.github.com/users/DomT4/received_events","type":"User","site_admin":false},"created_at":"2015-09-20T17:26:56Z","updated_at":"2015-09-20T17:26:56Z","body":"The message: \r\n> Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.\r\n\r\nIs actually be thrown from OS X, rather than Homebrew. It isn't something we have a huge amount of control over. If you do `sudo xcodebuild -license` you should be able to agree to the license & then be able to use everything as expected again."}}