NinthDecimal / kiip-ios-sdk-cocopods

Kiip iOS SDK CocoPods
MIT License
1 stars 0 forks source link

Wont import #2

Open devJoshLopez opened 8 years ago

devJoshLopez commented 8 years ago

I just added the pod to my swift ios project but when I try to add "import KiipSDK" in the app delegate it gives me an error that says no such module.

devJoshLopez commented 8 years ago

I received an email about this days ago. Is there any update on this? Did you try adding it to a swift project? Not trying to be a pest, just really like Kiip and want to use it. :)

sraj commented 8 years ago

Hi Josh,

You need to create bridging-header file to connect swift and objective-c and use #import "KiipSDK.h" in bridging file you need this extra-step, since our sdk is written in objective-c to support platforms till iOS 5.0. You can head to our sample app's repo https://github.com/kiip/kiip-samples/tree/master/ios-samples and we also sending you newly created swift project with podspec enabled. Let us know how it worked for you.

Thanks, Suman