Skip to content
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

Improve "compiling for ios" docs #9406

Closed
wants to merge 1 commit into from

Conversation

larsonjj
Copy link

The current documentation is missing key details:

  • Creating a usable export template .zip file for iOS
  • Stating the MoltenVK SDK is required.

This PR aims to help add this additional detail.

The current documentation is missing key details around creating a usable export template .zip file as well as making it clear that the MoltenVK SDK is required.

This PR aims to help correct this.
@AThousandShips AThousandShips requested a review from a team May 21, 2024 18:04
@AThousandShips AThousandShips added area:contributing Issues and PRs related to the Contributing/Development section of the documentation topic:porting labels May 21, 2024
@@ -86,6 +88,13 @@ should be placed in ``libgodot.ios.debug.xcframework`` and ``libgodot.ios.releas
The MoltenVK static ``.xcframework`` folder must also be placed in the ``ios_xcode``
folder once it has been created.

You can then zip the contents of the ``ios_xcode`` folder to reproduce the ``ios.zip``
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4.3 adds generate_bundle=yes SCons option to do it automatically, you do not need to copy, lipo, or zip anything anymore, just build all required architectures and add it to the last one you are building, e.g.,:

scons platform=ios target=template_release arch=arm64
scons platform=ios target=template_release arch=x86_64 ios_simulator=yes
scons platform=ios target=template_release arch=arm64 ios_simulator=yes
scons platform=ios target=template_debug arch=arm64
scons platform=ios target=template_debug arch=x86_64 ios_simulator=yes
scons platform=ios target=template_debug arch=arm64 ios_simulator=yes generate_bundle=yes

The same is also true for macOS templates (generates .zip) and macOS editor (generates signed .app).

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to know! Thanks for the info, I'll close this out then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
archived area:contributing Issues and PRs related to the Contributing/Development section of the documentation topic:porting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants