freshworks / mobihelp-ios

mobihelp sample codes
MIT License
9 stars 5 forks source link

Swift, Cocoapods and use_frameworks! flag: cannot find the module #14

Closed demetrio812 closed 8 years ago

demetrio812 commented 8 years ago

Hello, I'm integrating the SDK in a Swift project, I use the use_frameworks! flag in my Podfile. It correctly find the library but I'm not be able to use it as it doesn't recognise it as a module.

Any suggestions?

rdougan commented 8 years ago

I'm having the same issue

rdougan commented 8 years ago

I found this: https://github.com/AravinthChandran/Mobihelp-Swift-Sample

You have to manually create a bridging header file and import it there. Then you can use the Mobihelp SDK as normal.

hrishikesh-p commented 8 years ago

Thanks for sharing the solution @rdougan