Qt-project for ios and android. You need to connect VK SDK for ios.

Already started to connect VK SDK to the project, simply placing all the sources in the new module. To get the project together, I had to look for how to enable ARC for the * .mm framework files.

QMAKE_CFLAGS += -fobjc-arc 

I assume that not everything will be smooth with the connection of resources of the framework. In this way, I don’t like that the ready and properly configured framework can be broken if you do not take into account any nuance. And it takes a lot of time.

VK SDK library - xcode project. Going to VkSdkFramework.framework . Is it possible to connect VkSdkFramework.framework to Qt-project?

If so, do you need to do when assembling the Code Signing framework or you can leave Don't code Sign ? Does the Provisioning Profile matter here? Project releases are signed with company certificates. Will there be a conflict with the framework in terms of Code Sign ?


posted collected xcode VkSdkFramework.framework in the project, connected

 LIBS += -framework VKSdkFramework 

Build error

 ld: embedded dylibs/frameworks are only supported on iOS 8.0 and later (@rpath/VKSdkFramework.framework/VKSdkFramework) for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) 
  • so the question is whether to connect or why the error? - Max Mikheyenko
  • The question of how to connect to the project was going to freymorkom. The error, apparently, means that the connected library is not as it should. - pier_nasos
  • No, an error means that the VK library that you are using does not work on iOS below the 8th. either look for the old build, or raise the deploy target to iOS8 - Max Mikheyenko

0