I am having a problem building my Cordova app with pushwoosh plugin v3.6.16 on XCode. (I recently updated in hopes of getting a fix) I keep getting the following errors when trying to build and I already followed instructions on forums, see image below:

XCode error log

What am I missing?

Here is a screenshot of my Compile Sources:

alt text

And here is my Link Binary With Libraries

alt text

asked 02 Dec '15, 14:46
clintgh's gravatar image

clintgh
3115

Solved by using Phonegap-Plugin-3.0 ( https://github.com/Pushwoosh/pushwoosh-phonegap-3.0-plugin/releases/tag/Phonegap3.0 )

I manually installed the plugin by following the README.md inside the directory:

Manual Installation for iOS

Copy the following files to your project's Plugins folder:

HtmlWebViewController.h 
HtmlWebViewController.m 
PWGetNearestZoneRequest.h 
PWGetNearestZoneRequest.m 
PWPushStatRequest.h 
PWPushStatRequest.m 
PWRegisterDeviceRequest.h 
PWRegisterDeviceRequest.m 
PWRequest.h 
PWRequest.m 
PWRequestManager.h 
PWRequestManager.m 
PWSendBadgeRequest.h 
PWSendBadgeRequest.m 
PWGetTagsRequest.h 
PWGetTagsRequest.m 
PWSetTagsRequest.h 
PWSetTagsRequest.m 
PushNotificationManager.h 
PushNotificationManager.m

Add a reference for this plugin to the plugins dictionary in Cordova.plist:

<key>PushNotification</key>
<string>PushNotification</string>

Add the PushNotification.js script to your assets/www folder (or within a javascripts folder within your www folder) and reference it in your main index.html file.

<script type="text/javascript" charset="utf-8" src="PushNotification.js"></script>
permanent link
answered 08 Dec '15, 13:47
clintgh's gravatar image

clintgh
3115

edited 08 Dec '15, 13:49

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×353
×326
×26

question asked: 02 Dec '15, 14:46

question was seen: 667 times

last updated: 08 Dec '15, 13:49