[aerogear-dev] Aero push iOS 64bit?

Miguel Lemos miguel21op at gmail.com
Thu Apr 3 05:56:09 EDT 2014


My confusion: iPhone 5 is a 32 bit processor, of course.

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.

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


On Wed, Apr 2, 2014 at 10:26 AM, Miiguel Lemos <miguel21op at gmail.com> wrote:

> Of course, don't forget to change your project target  before compiling it.
>
> 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.
>
> Miguel
>
> Enviado do meu iPad
>
> No dia 02/04/2014, às 08:54, Erik Jan de Wit <edewit at redhat.com> escreveu:
>
> Hi,
>
> Thanks for trying our project, currently Cordova doesn’t support 64 bit
> builds (see the very long discussion<http://mail-archives.apache.org/mod_mbox/cordova-dev/201403.mbox/browser> about
> it). When that is fixed we’ll need to update our push library to also
> support 64 bit (I’ve create an issue<https://issues.jboss.org/browse/AEROGEAR-1463>).
> Cordova already fixed their issue we just need to wait for a release and
> then you are good to go.
>
> Hope you can wait for that to happen,
> Cheers,
> Erik Jan
>
> On 1 Apr,2014, at 22:37 , johnbran <john at goabits.com> wrote:
>
> Hello,
> I am running xcode 5.1 and cordova 3.4.  When I test my app on an iPhone 4
> it works without issue. When I run it on an 5s (64bits) or in the 64bit
> iphone simulator I get the following errors...
>
> ld: warning: ignoring file
>
> /Users/johnbran/cordova/z1/platforms/ios/z1/Plugins/org.jboss.aerogear.cordova.push/libpush-sdk-0.8.1.a,
> missing required architecture x86_64 in file
>
> /Users/johnbran/cordova/z1/platforms/ios/z1/Plugins/org.jboss.aerogear.cordova.push/libpush-sdk-0.8.1.a
> (3 slices)
> Undefined symbols for architecture x86_64:
>  "_OBJC_CLASS_$_AGDeviceRegistration", referenced from:
>      objc-class-ref in PushPlugin.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
>
> If I choose to compile only to 32bits using $(ARCHS_STANDARD_32_BIT) in the
> Architecture build settings, Cordova throws errors.
>
> Does Aero push for iOS support 64bits?  I got it working nicely in Android
> and would like to use the same system for iOS.
>
> Thanks
>
>
>
> --
> View this message in context:
> http://aerogear-dev.1069024.n5.nabble.com/Aero-push-iOS-64bit-tp7258.html
> Sent from the aerogear-dev mailing list archive at Nabble.com.
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20140403/5fd1e603/attachment.html 


More information about the aerogear-dev mailing list