<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">This is a cordova related issue<div><br><div><div>On 13 Mar,2014, at 15:16 , Sebastien Blanc &lt;<a href="mailto:scm.blanc@gmail.com">scm.blanc@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Is that something related to the plugin or cordova itself that we need to remove/add again the platform when updating the plugin ? &nbsp;</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 13, 2014 at 3:15 PM, Corinne Krych <span dir="ltr">&lt;<a href="mailto:corinnekrych@gmail.com" target="_blank">corinnekrych@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello again Erik<br>
<br>
Actually doing :<br>
cordova platform remove iOS<br>
and then adding it again from fresh, sorted out my issue.<br>
<br>
It works just fine.<br>
<br>
++<br>
<span class="HOEnZb"><font color="#888888">Corinne<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On 13 Mar 2014, at 15:07, Corinne Krych &lt;<a href="mailto:corinnekrych@gmail.com">corinnekrych@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hello Erik<br>
&gt;<br>
&gt; I think you forgot to push release brancg to aerogear repo. I’ve tested using edewit release branch. I’m on iOS7.0.6 with Xcode 5.0.2.<br>
&gt; I’ve uninstall previous version of plugin on my codova app and reinstall latest. but when doing cordova build I run into this compilation warning and link error:<br>
&gt;<br>
&gt; /Users/corinne/aerogear/grails/totoAeroGear/greachCordova/platforms/ios/Greach/Plugins/org.jboss.aerogear.cordova.push/PushPlugin.m:92:80: warning:<br>
&gt; &nbsp; &nbsp; &nbsp;incompatible pointer types sending 'NSUserDefaults *' to parameter of type 'NSDictionary *' [-Wincompatible-pointer-types]<br>
&gt; &nbsp; &nbsp;[registration registerWithClientInfo:[self pushConfig:deviceToken withDict:userDefaults] success:^() {<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^~~~~~~~~~~~<br>
&gt; /Users/corinne/aerogear/grails/totoAeroGear/greachCordova/platforms/ios/Greach/Plugins/org.jboss.aerogear.cordova.push/PushPlugin.m:179:103: note:<br>
&gt; &nbsp; &nbsp; &nbsp;passing argument to parameter 'options' here<br>
&gt; - (void (^)(id &lt;AGClientDeviceInformation&gt;))pushConfig:(NSData *)deviceToken withDict:(NSDictionary *)options {<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^<br>
&gt; 1 warning generated.<br>
&gt;<br>
&gt; d build/emulator/Greach.app/Greach normal i386<br>
&gt; &nbsp; &nbsp;cd /Users/corinne/aerogear/grails/totoAeroGear/greachCordova/platforms/ios<br>
&gt; &nbsp; &nbsp;setenv IPHONEOS_DEPLOYMENT_TARGET 5.0<br>
&gt; &nbsp; &nbsp;setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/corinne/.rvm/gems/ruby-2.0.0-p247/bin:/Users/corinne/.rvm/gems/ruby-2.0.0-p247@global/bin:/Users/corinne/.rvm/rubies/ruby-2.0.0-p247/bin:/Users/corinne/.rvm/bin:/opt/local/bin:/opt/local/sbin:/Users/corinne/.gvm/groovy/current/bin:/Users/corinne/.gvm/grails/current/bin:/Users/corinne/.gvm/griffon/current/bin:/Users/corinne/.gvm/gradle/current/bin:/Users/corinne/.gvm/vertx/current/bin:/Users/corinne/.gvm/bin:/Users/corinne/.gvm/ext:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Users/corinne/bin/apache-maven-3.1.1/bin:/usr/local/heroku/bin:/Users/corinne/bin/scala-2.11.0-M4/bin:/Users/corinne/bin/forge-distribution-1.4.1.Final/bin:/Library/Java/JavaVirtualMachines/jdk1.7.0_15.jdk/Contents/Home/bin:.:/Users/corinne/bin/mongodb-osx-x86_64-2.2.3/bin:/Users/corinne/bin/adt/sdk/tools:/Users/corinne/bin/adt/sdk/platform-tools:/Users/corinne/aerogear/vert.x/build/vert.x-2.0.0-beta4-SNAPSHOT/bin"<br>

&gt; &nbsp; &nbsp;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk -L/Users/corinne/aerogear/grails/totoAeroGear/greachCordova/platforms/ios/build/emulator -L/Users/corinne/aerogear/grails/totoAeroGear/greachCordova/platforms/ios/Greach/Plugins/org.jboss.aerogear.cordova.push -F/Users/corinne/aerogear/grails/totoAeroGear/greachCordova/platforms/ios/build/emulator -filelist /Users/corinne/aerogear/grails/totoAeroGear/greachCordova/platforms/ios/build/Greach.build/Debug-iphonesimulator/Greach.build/Objects-normal/i386/Greach.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -weak_framework CoreFoundation -weak_framework UIKit -weak_framework AVFoundation -weak_framework CoreMedia -weak-lSystem -force_load /Users/corinne/aerogear/grails/totoAeroGear/greachCordova/platforms/ios/build/emulator/libCordova.a -ObjC -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=5.0 -framework AssetsLibrary /Users/corinne/aerogear/grails/totoAeroGear/greachCordova/platforms/ios/build/emulator/libCordova.a -framework CoreGraphics -framework MobileCoreServices -framework CoreLocation -lpush-sdk -lpush-sdk-0.8.1 -framework Security -framework Foundation -framework SystemConfiguration -Xlinker -dependency_info -Xlinker /Users/corinne/aerogear/grails/totoAeroGear/greachCordova/platforms/ios/build/Greach.build/Debug-iphonesimulator/Greach.build/Objects-normal/i386/Greach_dependency_info.dat -o /Users/corinne/aerogear/grails/totoAeroGear/greachCordova/platforms/ios/build/emulator/Greach.app/Greach<br>

&gt; ld: library not found for -lpush-sdk<br>
&gt; clang: error: linker command failed with exit code 1 (use -v to see invocation)<br>
&gt;<br>
&gt; ** BUILD FAILED **<br>
&gt;<br>
&gt; ++<br>
&gt; Corinne<br>
&gt;<br>
&gt; On 13 Mar 2014, at 11:19, Erik Jan de Wit &lt;<a href="mailto:edewit@redhat.com">edewit@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; Hi Folks,<br>
&gt;&gt;<br>
&gt;&gt; This is a heads up for the release of the Cordova Push Plugin 0.0.3, this release solves a number of minor issues.<br>
&gt;&gt; <a href="https://github.com/aerogear/aerogear-pushplugin-cordova/pull/16" target="_blank">https://github.com/aerogear/aerogear-pushplugin-cordova/pull/16</a><br>
&gt;&gt;<br>
&gt;&gt; For testing clone the project and switch to the release branch and install<br>
&gt;&gt;<br>
&gt;&gt; git clone <a href="https://github.com/aerogear/aerogear-pushplugin-cordova.git" target="_blank">https://github.com/aerogear/aerogear-pushplugin-cordova.git</a><br>
&gt;&gt; git checkout -b release<br>
&gt;&gt; cordova plugin install &lt;location of push plugin&gt;<br>
&gt;&gt; If they aren't any objections or remarks I will release the bits to bintray on Friday afternoon<br>
&gt;&gt;<br>
&gt;&gt; Cheers,<br>
&gt;&gt; &nbsp; &nbsp; &nbsp;Erik Jan<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; aerogear-dev mailing list<br>
&gt;&gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
&gt;<br>
<br>
<br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
</div></div></blockquote></div><br></div>
_______________________________________________<br>aerogear-dev mailing list<br><a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/aerogear-dev</blockquote></div><br></div></body></html>