Can you run a Godot app in Xcode iOS simulator?

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

I am able to archive app and then install it through iTunes to my device (iPad). The app runs without any problem. But I am not able to run the app in Xcode simulator. Is that normal or is there something what I should worry about?

:bust_in_silhouette: Reply From: kubecz3k
  1. You need to compile godot for ios simulators with scons p=isim bin/godot.isim.tools
  2. You will get godot.isim.tools file inside bin folder.
  3. You need to copy this file into xCode project.
  4. Inside xCode project there is a text file Info.plist with a parameter executable name, the path that’s there should point to godot.isim.tools file.
  5. Remember to restore original path before releasing for devices!

info source: Compiling for iOS — Godot Engine (latest) documentation in English

Can you make a little steps tutorial on how to do this? There isn’s something very clear about.

Florix | 2016-06-19 21:22

Hello, I updated my answer a little, hope this will help!

kubecz3k | 2016-06-20 08:08

Ok build the simulator executable and changed the executable name, with the name of the simulator no? Than start the simulator but it runs the godot editor itself and not my game project! I’ve changed the data.pck file made for windows executable in the xcode project! What Am I making wrong? Sorry first time with xcode

Florix | 2016-06-20 14:27