Skip to end of metadata
Go to start of metadata


Starting February 1, 2015, Apple will require that all new App Store submissions be compiled using the iOS 8 SDK, and support 64-bit architectures, and starting June 1, 2015, all updated applications will also need to follow the same requirements.

Any module included with your project must support 64-bit architectures.

Module Builds

To update an existing iOS module and make it 64-bit compatible follow these steps:

  1. Open the module's Xcode project.
  2. Accept recommended updates (via the ! symbol in the window title)
  3. Update each of the TARGET (not project) architectures to standard aka $(ARCHS_STANDARD). This can be done by selecting Architectures and hitting the delete key on the keyboard.
  4. Set the iOS Deployment Target to iOS 6.0 or newer.

That's it. Build the module normally with this Release and it should now be 64-bit compatible. To verify, run the following command: 

And the output should be: 

Add the architectures field to the manifest file with the architectures to support. To find out which architectures the SDK supports, create a module using this Release and open its manifest file(s). Copy the architectures field from the manifest file to the manifest file of the module you want to build. Android and iOS support difference architectures. Once the architectures field is added, build the module.



Starting with Release 4.0.0, the build will fail if the architectures field is missing or the architectures do not match the architectures the Titanium SDK supports.

For example, add the following lines to the respected manifest files:


Couldn't find module: X for architecture: X

If you see the following error:

Error Log

This could happen if:

  • The module being required is not included in the tiapp.xml.
  • The module being required does not have the architecture the app is running on (arm64 in this case).
  • The module needs to be rebuilt with 64-bit support. See the instructions above.

Undefined symbols for architecture

See some log examples below.

Error Log  Expand source

This may happen if your module depends on a 3rd party library that does not include the x86_64 bit architecture.

  • Rebuild the module with a new build of the library that includes the missing architecture (x86_64 in this case).


Error Log  Expand source

This log shows a number of linker errors referencing the "std" namespace. This happens because the library used by the module needs the "std" standard library. As of 3.5.0.GA Titanium uses the "libc++ (LLVM standard library)" so we now need to specify when to link with the libstdc++ library.

  • In the module.xcconfig, tell the compiler to link against the libstdc++ library by adding the following line as you would when including a framework.


Module building for armv7, i386, and arm64 but not x86_64

 If you have already followed the instructions above to update the module to 64-bit and it builds 3 of the desired architectures but not x86_64, you may need to update the in the module project.


Here are two different ways to update the

  • Edit the existing
    1. Open the in a text editor
    2. Search for "-arch i386" if you find it, remove that text so that the line looks something like this
    3. Rebuild your module, and see if it includes x86_64 using xcrun lipo --info as mentioned above.
  • Update the
    1. Create a new module using the same moduleid as the module you are updating
    2. Copy the new it into your old module (overwriting the old
    3. Rebuild your module, and see if it includes x86_64 using xcrun lipo --info as mentioned above.



  • No labels