I am implementing push notification using pushwoosh on my iOS app made with phonegap/cordova.
I followed this tutorial (but stuck on step 1): http://www.pushwoosh.com/programming-push-notification/ios/ios-additional-platforms/push-notification-sdk-integration-for-phonegap/
I downloaded the SDK from here: https://github.com/Pushwoosh/pushwoosh-phonegap-3.0-plugin
I got these files under "ios" directory from SDK:
- PushNotification.h
- PushNotification.m
- Pushwoosh.framework [folder]
I can't install the plugin using the terminal so i'm trying to install the plugin manually (if you can send me link on how to install plugins manually and automatically, please do. Thanks), what I did is I dragged the file Pushwoosh.framework into the "Frameworks" folder in my XCode project, then I dragged the Pushnotification.h and Pushnotification.m to the "Classes" folder. When I build and run the app, the following error appears:
Lexical or Preprocessor 'PushNotificationManager.h' file not found
and it's highlighting the following code on PushNotification.h:
#import "PushNotificationManager.h"
What does this error mean?
What did I do wrong?
What is the correct way to install these plugins manually?
Thank you.
Update:
I changed
#import "PushNotificationManager.h"
to
#import <Pushwoosh/PushNotificationManager.h>
and now I get tons of Apple Mach-O Linker error messages saying
"Undefined symbols for architecture i386"