godot: Unable to launch exported iOS app via XCode - Godot 3.0 Beta 2
Godot version: Godot 3.0 Beta 2
OS/device including version: macOS 10.13 iOS 11.1 Xcode 9.2 (9C40b)
Issue description: I created a bare-bone Godot project with just GDScript to show Sprite node, no related to GDNative or anything else. My goal is to run iOS build on iOS device.
As there is no Xcode project template for Godot 3.0 Beta 2, I use such template from 2.1 with 3.0 beta 2’s export template for ios binaries (debug/release), and my godot project’s exported .pck
file. Then run project via Xcode, as a result I got the following error
Steps to reproduce:
- Download export template from Godot 3.0 beta 2 official
- Extract zip, inside extract iphone.zip, then you will get 3 files which are
data.pck
, library fat for debug, and another for release (both are static library). - Use Xcode project template as used in 2.1. Replace
godot_debug.iphone
with our library fat for debug, andgodot_opt.iphone
with our library fat for release one. Rename it to be exactly the same. Note that I consider this case to be the same step as done in 2.1 because both set of binary files are in fact static library. If this is wrong, please advice. - Export Godot project into
.pck
file, then replace this result file withdata.pck
as seen inside Xcode template project. - Open Xcode project and Run.
- Got the same result as shown on image above
As I see both two sets of binary files (Godot 2.1 XCode project template, and Godot export template) are technically the same which are normally static library built for debug or release target. The approach above I did should produce the same result.
Minimal reproduction project: Simple to create. Create a new project, then add a new root node and Sprite node as a child. Then export iOS.
- I searched the existing GitHub issues for potential duplicates.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 26 (13 by maintainers)
Why there is no default icons and launch screens provided for fast test? All images one by one is time consuming.
@akien-mga @endragor Got same problem with 3.0.6 export template.
How can I generate an
iphone.zip
from the source code ? Is there any documentation about that ?