Search code examples
iossdkapple-push-notificationspushwoosh

Add Sdk (Pushwoosh SDK)


I probably have the simplest question in the world. Here goes:

I am using pushwoosh for push notifications for my ios app. Basically, you just have to simply add Push NotificationsSDK to your project. Here is the link to the sdk: https://github.com/shaders/push-notifications-sdk/tree/master/SDK/iPhone-ARC

However, I can't get this to work. The only thing I can think of is that I don't know how to add a SDK to my project (a Master-Detail application).

The error is that whenever I try to import a file, like pushnotificationmanager.h, it gives me an error that it does not recognize the file. (Hence, why I think I am not adding the sdk correctly).


Solution

  • Just drag the folder "Classes" or all files in that foler to your project. Tick on the "Copy to project" when Xcode's popup window asks you. Then it should be ok to import the .h files and follow the integration guide.

    DO NOT drag the xcodeproj file to your project. Use the source files.