[Marmalade SDK] Deploying to iOS 64-bit (AARCH64)

Since feb’2015, It is mandatory to have 64-bit support in your Marmalade App.
In order to deploy a 64-bit compatible .ipa, you need Marmalade SDK 7.5 or higher.

First, build your application using GCC AARCH64 Release, instead of old GCC ARM Release.

Then, when Marmalade Deploy Tool opens, select “ARM+AARCH64 GCC Release” (see screenshot below)

marmalade64bitm1

In the next step “Stage: Configuration – Platform selection”, select “iOS fat” as the platform.

marmalade64bitm2

Rest of the steps are the same. Click on “Deploy All” to run the deployment process. Note that iOS-native extensions must be also recompiled in a Mac running iOS 8 SDK or higher. Else, ld will ignore the .a files and extensions won’t be linked to your .ipa. If you also need to link your 64-bit iOS extension see this post.

Advertisements

[iOS] Undefined symbols for architecture arm64 _OBJC_CLASS_$_GPPShare when integrating GooglePlus SDK.

This has been a pretty annoying issue, first when Compiling the App, and then Archiving it for App Store submission. This is how i solved all the issues related to GooglePlus SDK for iOS.

Compilation:

Inside the lib/ folder, there are two libs: libGooglePlusUniversal.a and libGooglePlus.a, i removed this last one so only libGooglePlusUniversal.a remained. This way i could compile without errors

Archiving:

As it’s explained in this StackOverflow question.

I had to go to Build Settings, and inside “Architectures”, select YES in “Build for Active Architectures” (“release” was NO by default), and inside “Base SDK”, put “Latest iOS (iOS 7.1)”.

Captura de pantalla 2014-10-23 a la(s) 19.42.41

Apart from that, also had to select a development team in the “Basic” section, and “7.1” as the deployment target.

After all these changes, I could archive the App and submit to the App Store.

Hope it helps!