godot icon indicating copy to clipboard operation
godot copied to clipboard

[3.x] [iOS] Swift runtime support for iOS Plugins

Open naithar opened this issue 4 years ago • 2 comments

Adds a use_swift_runtime key to iOS Plugin configuration in [config] section.

This should allow to use Swift-based plugins without using custom export template or manually changing exported project. This also allows to use Swift runtime only when it's required.

Related issue https://github.com/godotengine/godot/pull/46683

naithar avatar Jun 22 '21 11:06 naithar

This went under the radar, but might be worth rebasing and re-evaluating (for 3.6 now, but maybe also 3.5.x if relevant).

CC @bruvzg for review

akien-mga avatar Jul 03 '22 00:07 akien-mga

@naithar Are you still around to update this?

akien-mga avatar Aug 06 '22 12:08 akien-mga

Thanks!

akien-mga avatar Aug 10 '22 12:08 akien-mga

As this is only planned for v3.6, is there a workaround to inject the dummy.swift and bridging-header.h using EditorExportPlugin or something similar? (I still don't know how to use EditorExportPlugin properly)

Edit: Nevermind, I managed to solve this using a third-party tool (https://github.com/kronenthaler/mod-pbxproj).

hauszp avatar Feb 03 '23 21:02 hauszp