ConnectSDK / Connect-SDK-iOS

iOS source project for Connect SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could not build Objective-C module 'ConnectSDK'

hamedazhar-giz opened this issue · comments

Hi,
I have installed ConnectSDK through cocoapods, but could not import it. This error
Could not build Objective-C module 'ConnectSDK'
keeps on coming whenever i do this:
import ConnectSDK
How can I achieve it?

commented

didn't started yet working with the library but the problem you're facing seems like integration between Objective c files to Swift ones.

Try to search for how to import Objective c files to swift ones.

FYI the way to do it is by creating a class (Objective c file, actually) which imports all of headers you need and serve as a middle man between your Swift files to the Objective c files you want to import.

Look here for more info buddy:
https://mycodetips.com/ios/manually-adding-swift-bridging-header-1290.html