I do a project on Swift, I connected the iOS SDK via cocoapods, when I write

import VK_ios_sdk 

gives an error message

no such module

Tell me who faced how to solve this problem?

  • Did you connect in the project settings? May need. - AivanF.
  • @AivanF. Yes, added in Linked Frameworks and Libraries: VK_ios_sdk.framework - K. Sergey
  • As far as I know, if you correctly assemble the solution with CocoaPods, then in General -> Linked Frameworks and Libraries .a-file of the library and a .a-file of the pods of the project should appear, respectively Tragets of the Podov project. - AivanF.

2 answers 2

After installing pod, run Build and after that it will just be picked up. So it was with me!

    After installing VK_SDK, a file with the following name * .xcworkspace should appear in your project folder. You need to run it, then connect VK_sdk_ios. enter image description here