-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exported XCode project won't build #82454
Comments
There are two issues here:
|
I can confirm it works on my iPhone. Simulator support would still be great but at least I can run it on my device. |
What did you do to fix it? Simply pull down that linked pull request? |
You will need to build a custom export template with the changes from this PR, see https://docs.godotengine.org/en/latest/contributing/development/compiling/compiling_for_ios.html
On Apple Silicon macs, you can select "This Mac" from the Xcode target menu and run the device app directly on the mac. Or you can build a custom export template with the simulator lib (it is not buildable only when cross-building from Linux, building on macOS it is supported). |
Thank you for the reply. I'm new to Godot and just to the point where I wanted to build a version out for testflight to test, but hit a wall getting it to run even in xcode on my device. Do your instructions regarding the simulator library apply for a build that I'd send up to testflight? I'd think they do, but figured I'd ask. Again, thank you for replying. The relief of finding this post and it being recent made my day |
No I just changed the run destination from simulator to my iPhone and set the minimum iOS version to 16. I haven't experimented with other iOS versions, maybe it works with the default too (11). |
Reopening as the fix is not merged yet. |
I had the same issue. I know this is closed, but finding this page really helps since the current LTS version of Godot presents the same behavior, which looks like the export process failed (although it's just the simulator). Would be nice to have a note about it in the docs. |
This issue is still present in Godot 3.5.3 iOS exports.
Since MacOS Sonoma requires the use of Xcode 15, can a similar solution as #82458 be used to apply a fix in 3.5.x? |
Godot version
v4.1.1.stable.official [bd6af8e]
System information
Godot v4.1.1.stable - macOS 13.5.2 - Vulkan (Mobile) - integrated Apple M2 Max - Apple M2 Max (12 Threads)
Issue description
Generated XCode project fails immediately after trying to run:
XCode: Version 15.0 (15A240d)
Steps to reproduce
Open the generated project in XCode. Select some simulator eg. iPhone 15 Pro & hit run.
Minimal reproduction project
problemdemo.zip
The text was updated successfully, but these errors were encountered: