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

[iOS/macOS] Add option to automatically build (and sign / archive) bundles. #86255

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

bruvzg
Copy link
Member

@bruvzg bruvzg commented Dec 17, 2023

  • Adds generate_bundle build flag to automatically generate .app bundle or template zip.
  • Adds bundle_sign_identity to automatically sign editor .app bundle with correct entitlements (defaults to ad-hoc signing is not set).
scons platform=macos target=editor arch=x86_64
scons platform=macos target=editor arch=arm64 generate_bundle=yes
# generates and signs editor app bundle with universal executable.
scons platform=macos target=template_release arch=x86_64
scons platform=macos target=template_release arch=arm64
scons platform=macos target=template_debug arch=x86_64
scons platform=macos target=template_debug arch=arm64 generate_bundle=yes
# generates ZIP with the full macOS export template (debug and release universal executable).
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
# generates ZIP with the full iOS export template (debug and release universal xcframeworks for device and simulator).

Fixes godotengine/godot-proposals#1460

SConstruct Outdated Show resolved Hide resolved
Copy link
Member

@akien-mga akien-mga left a comment

Choose a reason for hiding this comment

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

Looks good to me overall.

@akien-mga akien-mga modified the milestones: 4.x, 4.3 Feb 13, 2024
@akien-mga akien-mga merged commit de77f0a into godotengine:master Feb 13, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create an .app bundle automatically when compiling the editor for macOS
2 participants