{"action":"created","issue":{"url":"https://api.github.com/repos/SwiftyVK/SwiftyVK/issues/73","repository_url":"https://api.github.com/repos/SwiftyVK/SwiftyVK","labels_url":"https://api.github.com/repos/SwiftyVK/SwiftyVK/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/SwiftyVK/SwiftyVK/issues/73/comments","events_url":"https://api.github.com/repos/SwiftyVK/SwiftyVK/issues/73/events","html_url":"https://github.com/SwiftyVK/SwiftyVK/issues/73","id":236686733,"node_id":"MDU6SXNzdWUyMzY2ODY3MzM=","number":73,"title":"Can not authorize with OSStatus error -10814","user":{"login":"simorakkaus","id":13366006,"node_id":"MDQ6VXNlcjEzMzY2MDA2","avatar_url":"https://avatars0.githubusercontent.com/u/13366006?v=4","gravatar_id":"","url":"https://api.github.com/users/simorakkaus","html_url":"https://github.com/simorakkaus","followers_url":"https://api.github.com/users/simorakkaus/followers","following_url":"https://api.github.com/users/simorakkaus/following{/other_user}","gists_url":"https://api.github.com/users/simorakkaus/gists{/gist_id}","starred_url":"https://api.github.com/users/simorakkaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simorakkaus/subscriptions","organizations_url":"https://api.github.com/users/simorakkaus/orgs","repos_url":"https://api.github.com/users/simorakkaus/repos","events_url":"https://api.github.com/users/simorakkaus/events{/privacy}","received_events_url":"https://api.github.com/users/simorakkaus/received_events","type":"User","site_admin":false},"labels":[{"id":274620498,"node_id":"MDU6TGFiZWwyNzQ2MjA0OTg=","url":"https://api.github.com/repos/SwiftyVK/SwiftyVK/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-06-17T22:04:19Z","updated_at":"2018-09-09T23:04:29Z","closed_at":"2017-06-17T22:57:59Z","author_association":"NONE","body":"Hi!\r\nI'm trying to take advantage of using SwiftyVK lib for my project but stuck right in authorization.\r\nI had step by step implementation for adding the library from here [https://github.com/west0r/SwiftyVK#authorization-with-vk-app](url)\r\n\r\nbut when I've tried to launch authorization method \r\n`VK.logIn()`\r\n\r\nI've got the error\r\nVKIntegrationTest[1109:598558] -canOpenURL: failed for URL: \"vk[my app id]://\" - error: \"The operation couldn’t be completed. (OSStatus error -10814.)\"\r\n\r\nOSSStatus says that 10814 is\r\n\r\n>No application in the Launch Services database matches the input criteria.\r\n\r\nI'm sure I have official VK app on my device and more than that 10814 is a Mac error, but I'm into iPhone."},"comment":{"url":"https://api.github.com/repos/SwiftyVK/SwiftyVK/issues/comments/419751662","html_url":"https://github.com/SwiftyVK/SwiftyVK/issues/73#issuecomment-419751662","issue_url":"https://api.github.com/repos/SwiftyVK/SwiftyVK/issues/73","id":419751662,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTc1MTY2Mg==","user":{"login":"PutkovDimi","id":21691600,"node_id":"MDQ6VXNlcjIxNjkxNjAw","avatar_url":"https://avatars3.githubusercontent.com/u/21691600?v=4","gravatar_id":"","url":"https://api.github.com/users/PutkovDimi","html_url":"https://github.com/PutkovDimi","followers_url":"https://api.github.com/users/PutkovDimi/followers","following_url":"https://api.github.com/users/PutkovDimi/following{/other_user}","gists_url":"https://api.github.com/users/PutkovDimi/gists{/gist_id}","starred_url":"https://api.github.com/users/PutkovDimi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PutkovDimi/subscriptions","organizations_url":"https://api.github.com/users/PutkovDimi/orgs","repos_url":"https://api.github.com/users/PutkovDimi/repos","events_url":"https://api.github.com/users/PutkovDimi/events{/privacy}","received_events_url":"https://api.github.com/users/PutkovDimi/received_events","type":"User","site_admin":false},"created_at":"2018-09-09T23:04:29Z","updated_at":"2018-09-09T23:04:29Z","author_association":"NONE","body":"So I fixed the problem just using both parts of the code :) \r\nMaybe it will be useful for somebody \r\n`\r\nlet main = UIStoryboard(name: \"Main\", bundle: nil)\r\n        let vc = main.instantiateViewController(withIdentifier: \"LoginViewController\") as UIViewController\r\n        let appDelegate = UIApplication.shared.delegate as! AppDelegate\r\n        appDelegate.window?.rootViewController = vc\r\n        if let rootController = UIApplication.shared.keyWindow?.rootViewController{\r\n            rootController.present(viewController, animated: true)\r\n        }\r\n`"}}
{"actor":{"display_login":"PutkovDimi"}}