Skip to content

Add ability to build swift code #4616

Open
@theromis

Description

@theromis

Describe the Feature
A clear and concise description of what the feature request is.
currently swift impossible to build, Godot uses scons for builds including MacOS/iOS, unfortunately Apple moves current features from Objective-C to SWIFT.

Required information

brew install scons
  • What Platform are you on? (Linux/Windows and which version)
    MacOS
  • How to reproduce your issue? Please include a small self contained reproducer. Likely a SConstruct should do for most issues.
    try to build swift code for godot engine
  • How you invoke scons (The command line you're using "scons --flags some_arguments")
scons platform=ios target=template_release

Additional context
After latest update SKStoreReviewController is removed from build (using it to rate app) so build is just fails, temporarily removed this call.
In last xcode it replaced by
AppStore.requestReview(in: scene)
but it exists only in SWIFT, so right now is just impossible to use this feature
https://forums.developer.apple.com/forums/thread/759918

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions