{"action":"created","issue":{"url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/issues/274","labels_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/issues/274/labels{/name}","comments_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/issues/274/comments","events_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/issues/274/events","html_url":"https://github.com/mixpanel/mixpanel-iphone/pull/274","id":88703864,"number":274,"title":"fix Xcode7 warning: Conflicting return type in implementation of 'supportedInterfaceOrientations'","user":{"login":"Coeur","id":839992,"avatar_url":"https://avatars.githubusercontent.com/u/839992?v=3","gravatar_id":"","url":"https://api.github.com/users/Coeur","html_url":"https://github.com/Coeur","followers_url":"https://api.github.com/users/Coeur/followers","following_url":"https://api.github.com/users/Coeur/following{/other_user}","gists_url":"https://api.github.com/users/Coeur/gists{/gist_id}","starred_url":"https://api.github.com/users/Coeur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coeur/subscriptions","organizations_url":"https://api.github.com/users/Coeur/orgs","repos_url":"https://api.github.com/users/Coeur/repos","events_url":"https://api.github.com/users/Coeur/events{/privacy}","received_events_url":"https://api.github.com/users/Coeur/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-16T11:51:29Z","updated_at":"2015-08-17T06:24:00Z","closed_at":"2015-07-16T23:01:52Z","pull_request":{"url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/pulls/274","html_url":"https://github.com/mixpanel/mixpanel-iphone/pull/274","diff_url":"https://github.com/mixpanel/mixpanel-iphone/pull/274.diff","patch_url":"https://github.com/mixpanel/mixpanel-iphone/pull/274.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/issues/comments/131692996","html_url":"https://github.com/mixpanel/mixpanel-iphone/pull/274#issuecomment-131692996","issue_url":"https://api.github.com/repos/mixpanel/mixpanel-iphone/issues/274","id":131692996,"user":{"login":"Coeur","id":839992,"avatar_url":"https://avatars.githubusercontent.com/u/839992?v=3","gravatar_id":"","url":"https://api.github.com/users/Coeur","html_url":"https://github.com/Coeur","followers_url":"https://api.github.com/users/Coeur/followers","following_url":"https://api.github.com/users/Coeur/following{/other_user}","gists_url":"https://api.github.com/users/Coeur/gists{/gist_id}","starred_url":"https://api.github.com/users/Coeur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coeur/subscriptions","organizations_url":"https://api.github.com/users/Coeur/orgs","repos_url":"https://api.github.com/users/Coeur/repos","events_url":"https://api.github.com/users/Coeur/events{/privacy}","received_events_url":"https://api.github.com/users/Coeur/received_events","type":"User","site_admin":false},"created_at":"2015-08-17T06:24:00Z","updated_at":"2015-08-17T06:24:00Z","body":"Well, *we* also has the meaning of the clients of mixpanel. And they might be using Xcode 6 using strict compilation options, or they might be using Xcode 7 using strict compilation options as well. Maybe we could deactivate the clang warning for this specific line while transitioning from Xcode 6 to Xcode 7. \r\n\r\n    // removing warning for Xcode 6 and earlier\r\n    #pragma clang diagnostic push\r\n    #pragma clang diagnostic ignored \"-Wall\"\r\n    - (UIInterfaceOrientationMask)supportedInterfaceOrientations {\r\n    #pragma clang diagnostic pop\r\n\r\n(I know it is not \"-Wall\", but not sure which one it is exactly, as I only have El Capitan, so I can't install Xcode 6 anymore)"}}