Question

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).

Was it helpful?

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.

OTHER TIPS

I have met this scenario several times when I add new phone for development. The provisioning file need be updated to include the new device. Then you need add new provisioning file to Xcode. Restart Xcode.

It works in my project. I am not sure does this it work in your scenario.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top