Browse Source

Merge pull request #196 from kubecz3k/patch-2

Info on how to compile ios fat binary 32bit + 64bit
Rémi Verschelde 9 years ago
parent
commit
f82781c0ba
1 changed files with 11 additions and 0 deletions
  1. 11 0
      reference/compiling_for_ios.rst

+ 11 - 0
reference/compiling_for_ios.rst

@@ -38,6 +38,17 @@ Alternatively, you can run
 
 for a Simulator executable.
 
+Additionally since some time Apple requires 64 bit version of application binary when you are uploading to iStore.
+The best way to provide these is to create a bundle in which there are both 32bit and 64 binaries, so every device will be able to run the game.
+It can be done in three steps, first compile 32 bit version, then compile 64 bit version and then use ``lipo`` to bundle them into one fat binary, all those steps can be performed with following commands: 
+
+::
+
+    $ scons p=iphone tools=no bits=32 target=release 
+    $ scons p=iphone tools=no bits=64 target=release
+    $ lipo -create bin/godot.iphone.opt.32 arm64 bin/godot.iphone.opt.64 -output bin/godot.iphone.opt.universal
+
+
 Run
 ---