iOS build: Reached end of file while looking for: uint32_t

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

Xcode version 8.2.1

I followed the instructions on here:
http://docs.godotengine.org/en/stable/tutorials/asset_pipeline/exporting_for_ios.html

When I try to build, gives me a dialog saying “Reached end of file while looking for: uint32_t”.

What might be the issue?

There are currently issues with building Godot for iOS with Xcode 8.x, try reverting to Xcode 7.2 or 7.3 for the time being.

Calinou | 2016-12-22 14:00

It happens now with the 2.2 stable version, even with Xcode 7.3. I tried to go back to 2.1 stable and it works.

ludosar | 2017-01-27 12:06

:bust_in_silhouette: Reply From: volzhs

It’s because of wrong template for ios.
moving /godot_ios_xcode/godot_debug.iphone /godot_ios_xcode/godot_opt.iphone to
/godot_ios_xcode/godot_xcode/godot_debug.iphone /godot_ios_xcode/godot_xcode/godot_opt.iphone will fix it.

Tested with xcode 7.3.1

  • 2.1.2 template / 2.1.2 binary
  • 2.1.2 template / 2.2-legacy binary

works lie a charm ! But i found the description a little confusing at first ! Thanks !

AlvaroAV | 2017-03-12 22:50