{"action":"created","issue":{"url":"https://api.github.com/repos/DrMoriarty/cordova-social-vk/issues/13","repository_url":"https://api.github.com/repos/DrMoriarty/cordova-social-vk","labels_url":"https://api.github.com/repos/DrMoriarty/cordova-social-vk/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/DrMoriarty/cordova-social-vk/issues/13/comments","events_url":"https://api.github.com/repos/DrMoriarty/cordova-social-vk/issues/13/events","html_url":"https://github.com/DrMoriarty/cordova-social-vk/issues/13","id":131128726,"number":13,"title":"npm-плагин для Phonegap Build","user":{"login":"Ajaxy","id":357153,"avatar_url":"https://avatars.githubusercontent.com/u/357153?v=3","gravatar_id":"","url":"https://api.github.com/users/Ajaxy","html_url":"https://github.com/Ajaxy","followers_url":"https://api.github.com/users/Ajaxy/followers","following_url":"https://api.github.com/users/Ajaxy/following{/other_user}","gists_url":"https://api.github.com/users/Ajaxy/gists{/gist_id}","starred_url":"https://api.github.com/users/Ajaxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ajaxy/subscriptions","organizations_url":"https://api.github.com/users/Ajaxy/orgs","repos_url":"https://api.github.com/users/Ajaxy/repos","events_url":"https://api.github.com/users/Ajaxy/events{/privacy}","received_events_url":"https://api.github.com/users/Ajaxy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-02-03T19:30:44Z","updated_at":"2016-02-04T12:39:53Z","closed_at":null,"body":"Привет.\r\nХочу попробовать использовать плагин при сборке в облаке через Phonegap Build.\r\nФоркнул, поправил имя, версию и запушил в `npm`: https://github.com/Ajaxy/cordova-plugin-socialvk\r\n\r\nПри сборке в логах вылетают такие ошибки:\r\n```\r\nIn file included from /project/Mozg/Plugins/cordova-plugin-socialvk/SocialVk.m:4:\r\nMozg/Plugins/cordova-plugin-socialvk/SocialVk.h:5:9: fatal error: 'VKSdk/VKSdk.h' file not found\r\n#import <VKSdk/VKSdk.h>\r\n        ^\r\n1 error generated.\r\n```\r\n\r\nВидимо как-то неправильно устанавливается VKSdk.framework. Аналогичный плагин для фейсбука https://github.com/Wizcorp/phonegap-facebook-plugin/blob/master/plugin.xml работает нормально.\r\n\r\nЕсть ли идеи, в чём может быть проблема?\r\nСпасибо."},"comment":{"url":"https://api.github.com/repos/DrMoriarty/cordova-social-vk/issues/comments/179810528","html_url":"https://github.com/DrMoriarty/cordova-social-vk/issues/13#issuecomment-179810528","issue_url":"https://api.github.com/repos/DrMoriarty/cordova-social-vk/issues/13","id":179810528,"user":{"login":"DrMoriarty","id":1177068,"avatar_url":"https://avatars.githubusercontent.com/u/1177068?v=3","gravatar_id":"","url":"https://api.github.com/users/DrMoriarty","html_url":"https://github.com/DrMoriarty","followers_url":"https://api.github.com/users/DrMoriarty/followers","following_url":"https://api.github.com/users/DrMoriarty/following{/other_user}","gists_url":"https://api.github.com/users/DrMoriarty/gists{/gist_id}","starred_url":"https://api.github.com/users/DrMoriarty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrMoriarty/subscriptions","organizations_url":"https://api.github.com/users/DrMoriarty/orgs","repos_url":"https://api.github.com/users/DrMoriarty/repos","events_url":"https://api.github.com/users/DrMoriarty/events{/privacy}","received_events_url":"https://api.github.com/users/DrMoriarty/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T12:39:53Z","updated_at":"2016-02-04T12:39:53Z","body":"А в приложении настроены схемы URL и всё такое?\r\nКонкретно решение о логине через приложение или вебвью производится внутри src/ios/SocialVk.m\r\nметод -(void)vkLoginWithPermissions:\r\nМожно там брейкпоинт поставить и проверить, какой флаг выставляется для СДК."}}