[SOLVED] Compiling for iOS

Hello

I’m trying to build a game for iOS. From February 1st, Apple asks that we compile for both 32 and 64 bits architecture. Actually I don’t really know how to do that.

I thought it is with this in project.xml:

<ios deployment="8.0" binaries="fat" devices="universal"/>

but when I do so, I have the following error:

Error: Source path "/Users/sebastien/haxelib/lime/2,1,0/legacy/ndll/IPhone/liblime.iphoneos.a" does not exist

Please note that I have the same error with armv6. On the other hand, armv7 and arm64 work well.

I’m using the following versions of the different tools:

  • Haxe Compiler 3.1.3
  • Haxe Library Manager 3.1.0-rc.4
  • Lime Command-Line Tools (2.1.0)
  • OpenFL Command-Line Tools (2.2.5-LM5zP4)

Can you help me generate a binary for both 32 and 64 bits so I can submit to AppStore validation ?

Thank you

If you use a current release of OpenFL, Lime and HXCPP, it should build both armv7 and arm64 binaries by default, without any <ios /> tags in your project. If you want armv6 as well, you will need to build Lime from the source, as this is no longer distributed by default. Does this help?

Thanks to you, I just understand:

  • armv7 = 32 bits
  • arm64 = 64 bits

So thanks for you help, it’s very clear now.