I'd like to compile a hello world for install on iOS

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By socheat.khauv
:warning: Old Version Published before Godot 3 was released.

I compiled godot engine from the latest commit github with the following command.

scons platform=iphone arch=arm target=release IPHONESDK=“/opt/tool/xcode/iPhoneSDK/iPhoneOS9.3.sdk” IPHONEPATH=“/opt/tool/iostoolchain” ios_triple=“arm-apple-darwin11-”
scons platform=iphone arch=arm target=release_debug IPHONESDK=“/opt/tool/xcode/iPhoneSDK/iPhoneOS9.3.sdk” IPHONEPATH=“/opt/tool/iostoolchain” ios_triple=“arm-apple-darwin11-”
scons platform=iphone arch=arm64 target=release IPHONESDK=“/opt/tool/xcode/iPhoneSDK/iPhoneOS9.3.sdk” IPHONEPATH=“/opt/tool/iostoolchain” ios_triple=“arm-apple-darwin11-” -j 8
scons platform=iphone arch=arm64 target=release_debug IPHONESDK=“/opt/tool/xcode/iPhoneSDK/iPhoneOS9.3.sdk” IPHONEPATH=“/opt/tool/iostoolchain” ios_triple=“arm-apple-darwin11-”
$OSXCROSS_IOS/arm-apple-darwin11-lipo -create $GIT_REPO/godotengine/godot/bin/godot.iphone.opt.debug.arm $GIT_REPO/godotengine/godot/bin/godot.iphone.opt.debug.arm64 -output $GIT_REPO/godotengine/godot/bin/godot.iphone.opt.debug.fat
$OSXCROSS_IOS/arm-apple-darwin11-lipo -create $GIT_REPO/godotengine/godot/bin/godot.iphone.opt.arm $GIT_REPO/godotengine/godot/bin/godot.iphone.opt.arm64 -output $GIT_REPO/godotengine/godot/bin/godot.iphone.opt.fat

then i got the following file. and I am not sure what are these files is use for ?

  • godot.iphone.opt.arm
  • godot.iphone.opt.arm64
  • godot.iphone.opt.debug.arm
  • godot.iphone.opt.debug.arm64
  • godot.iphone.opt.debug.fat
  • godot.iphone.opt.fat

What I am trying to do is, I am trying to compile a hello world game for able to install on iOS, (ipa file)

Could you please help me to guide some step, how to do that ?

As far as I know, you can compile for iOS from Linux, but you can’t export for iOS from Linux, since there is no way to make an .ipa file without Xcode.

Calinou | 2016-07-26 12:57

yeah you are right.

socheat.khauv | 2016-07-26 13:06

Apple sucks, they don’t open anything.
They do only open our wallet :frowning:

volzhs | 2016-07-26 17:02