{"action":"closed","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4271","repository_url":"https://api.github.com/repos/CocoaPods/CocoaPods","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4271/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4271/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4271/events","html_url":"https://github.com/CocoaPods/CocoaPods/issues/4271","id":108542841,"number":4271,"title":"Enable declaring required `LSApplicationQueriesSchemes` in a podspec","user":{"login":"chrismaddern","id":1068437,"avatar_url":"https://avatars.githubusercontent.com/u/1068437?v=3","gravatar_id":"","url":"https://api.github.com/users/chrismaddern","html_url":"https://github.com/chrismaddern","followers_url":"https://api.github.com/users/chrismaddern/followers","following_url":"https://api.github.com/users/chrismaddern/following{/other_user}","gists_url":"https://api.github.com/users/chrismaddern/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismaddern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismaddern/subscriptions","organizations_url":"https://api.github.com/users/chrismaddern/orgs","repos_url":"https://api.github.com/users/chrismaddern/repos","events_url":"https://api.github.com/users/chrismaddern/events{/privacy}","received_events_url":"https://api.github.com/users/chrismaddern/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-09-27T15:36:18Z","updated_at":"2016-04-03T20:22:02Z","closed_at":"2016-04-03T20:22:02Z","body":"As of iOS 9, libraries that need to check the availability of an app or implementer of a URL scheme through `canOpenURL:` need to pre-register those schemes in their `info.plist`. For libraries distributed with CocoaPods this is now a manual step after integrating the pod.\r\n\r\nA few examples of this are the Facebook SDK, Venmo SDK, (Anybody doing app-switch auth) as well as anything handling app installation or deep linking (e.g. Button - where I originally had this though).\r\n\r\nI propose a new `Podspec` field to add schemes to the `info.plist` file:\r\n\r\n```ruby\r\n   spec.required_query_schemes = [\"fb\", \"fbapi\"]\r\n```\r\n\r\nBefore taking any steps to introduce this, I wanted to see what people thought of this?\r\n\r\n- Do Query Schemes fall under the remit of CocoaPods?\r\n- Should CocoaPods be modifying the info.plist file?\r\n- Are there other ways I'm overlooking to achieve this in the current Podspec standard. (e.g. Post-integration build scripts could have done it in the past)\r\n\r\nWould love thoughts from any and all - +1 / -1 welcome!"}}