<div dir="ltr">My confusion: iPhone 5 is a 32 bit processor, of course.<div><br></div><div>The "mistake" was caused by the fact that when you compile your program with XCode 5.1 and Cordova, one of the things you must do is to add the Arm64 bit processor to the architectures setup. When compiling the program without it, Aerogear (and other plugins) throw a bunch of compiling errors.</div>
<div><br></div><div>But I found out that it's easier to remove the iOS platform and reinstall it again, and then just change the target profile in XCode...</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Apr 2, 2014 at 10:26 AM, Miiguel Lemos <span dir="ltr"><<a href="mailto:miguel21op@gmail.com" target="_blank">miguel21op@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto"><div>Of course, don't forget to change your project target before compiling it.</div><div><br></div><div>By the way: I use to compile my iPhone apps through the console directly to the device, and not through XCode. This way some auto features of the SDK will not be called, thus avoiding some errors that will "hurt" Cordova.</div>
<div><br></div><div>Miguel<br><br>Enviado do meu iPad</div><div class=""><div><br>No dia 02/04/2014, às 08:54, Erik Jan de Wit <<a href="mailto:edewit@redhat.com" target="_blank">edewit@redhat.com</a>> escreveu:<br>
<br></div></div><div><div class="h5"><blockquote type="cite"><div>Hi,<div><br></div><div>Thanks for trying our project, currently Cordova doesn’t support 64 bit builds (see the very long <a href="http://mail-archives.apache.org/mod_mbox/cordova-dev/201403.mbox/browser" target="_blank">discussion</a> about it). When that is fixed we’ll need to update our push library to also support 64 bit (I’ve create an <a href="https://issues.jboss.org/browse/AEROGEAR-1463" target="_blank">issue</a>). Cordova already fixed their issue we just need to wait for a release and then you are good to go.</div>
<div><br></div><div>Hope you can wait for that to happen,</div><div><span style="white-space:pre-wrap">        </span>Cheers,</div><div><span style="white-space:pre-wrap">                </span>Erik Jan</div><div><br><div><div>On 1 Apr,2014, at 22:37 , johnbran <<a href="mailto:john@goabits.com" target="_blank">john@goabits.com</a>> wrote:</div>
<br><blockquote type="cite">Hello,<br>I am running xcode 5.1 and cordova 3.4. When I test my app on an iPhone 4<br>it works without issue. When I run it on an 5s (64bits) or in the 64bit<br>iphone simulator I get the following errors...<br>
<br>ld: warning: ignoring file<br>/Users/johnbran/cordova/z1/platforms/ios/z1/Plugins/org.jboss.aerogear.cordova.push/libpush-sdk-0.8.1.a,<br>missing required architecture x86_64 in file<br>/Users/johnbran/cordova/z1/platforms/ios/z1/Plugins/org.jboss.aerogear.cordova.push/libpush-sdk-0.8.1.a<br>
(3 slices)<br>Undefined symbols for architecture x86_64:<br> "_OBJC_CLASS_$_AGDeviceRegistration", referenced from:<br> objc-class-ref in PushPlugin.o<br>ld: symbol(s) not found for architecture x86_64<br>
clang: error: linker command failed with exit code 1 (use -v to see<br>invocation)<br><br>If I choose to compile only to 32bits using $(ARCHS_STANDARD_32_BIT) in the<br>Architecture build settings, Cordova throws errors.<br>
<br>Does Aero push for iOS support 64bits? I got it working nicely in Android<br>and would like to use the same system for iOS.<br><br>Thanks<br><br><br><br>--<br>View this message in context: <a href="http://aerogear-dev.1069024.n5.nabble.com/Aero-push-iOS-64bit-tp7258.html" target="_blank">http://aerogear-dev.1069024.n5.nabble.com/Aero-push-iOS-64bit-tp7258.html</a><br>
Sent from the aerogear-dev mailing list archive at <a href="http://Nabble.com" target="_blank">Nabble.com</a>.<br>_______________________________________________<br>aerogear-dev mailing list<br><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">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></blockquote></div><br></div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br>
<span>aerogear-dev mailing list</span><br><span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a></span><br><span><a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></span></div>
</blockquote></div></div></div></blockquote></div><br></div>