64-bit Support in iOS for Titanium

26 May
If you're building an app in Titanium chances are your app is not 64-bit supported, which means that you cannot publish your beloved app in the AppStore.

There are two things you need to do in order to make it work:
  • Update your Titanium SDK.
Your SDK needs to be at least 3.5.0 in order to make your build 64-bit compatible. This was the easy fix.
  • Update your modules.
Chances are you use a lot of modules for the different functionalities your app needs. Well, not all of them are up-to-date. You can check your modules for 64-bit support by using a nifty little script called FokkeZB/ ti-64. Now that you know which modules are a little behind, you can either download a newer version, if you're in luck, and go on with your work, or do it yourself.

On what to do next, Appcelerator's site says it best:
  • Open the Xcode project for the module.
  • You should have at least one warning asking you to update the project to the “recommended settings”. Update the project as recommended.
  • Go to the project settings and set the iOS Deployment Target to at least iOS 6.0.
  • In Build Settings, change all the architectures to “$(ARCHS_STANDARD)”.

You're done!
Leave A Comment