-
-
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
[iOS] [3.2] iOS Plugins #41340
[iOS] [3.2] iOS Plugins #41340
Conversation
MacOS build seems to be using |
No, all platforms build with |
Yeah, just rechecked |
282945a
to
fc1a889
Compare
Fixed CI and made some changes to loading logic. Now ARKit is working correctly. |
fc1a889
to
b6b39d1
Compare
4c58d35
to
29c3d80
Compare
6a01868
to
c278ce2
Compare
c278ce2
to
fbd04e1
Compare
GitHub CI fails with this. Is it something on my side or CI is just going crazy again? |
So the @naithar @bruvzg @BastiaanOlij How do you think we should proceed for the |
I think making changes to |
@akien-mga I'm not in a position to test atm but if this all seems to work I would merge and work out any kinks. I'll try and find some time in the weekend to see if my ARKit demos work properly with these changes. |
I'm testing https://github.com/naithar/godot/tree/feature/pluggable_app_delegates and https://github.com/naithar/godot/tree/feature/pluggable_app_delegates_3.2 right now. It's probably the only functionality change left for plugins. |
fbd04e1
to
7b08c79
Compare
7b08c79
to
dafc80a
Compare
Moved previously builtin modules 'GameCenter', 'AppStore', 'iCloud' to separate modules to be represented as plugin. Modified 'ARKit' and 'Camera' to not be builtin into engine and work as plugin. Changed platform code so it's not affected by the move. Modified Xcode project file to remove parameters that doesn't make any effect. Added basic '.gdip' plugin config file.
dafc80a
to
21d5aff
Compare
Added plugin configuration. Export options now use plugins that could be enabled/disabled. Plugin changes are observed at runtime.
Plugins can use 'binary_name.a' or 'binary_name.release.a' and 'binary_name.debug.a' for plugin library.
21d5aff
to
c330baf
Compare
@godotengine/ios Should we merge this and #43557 now for inclusion in 3.2.4 beta 6 in a few days? What's the impact from those changes on current 3.2.x users (both game devs and plugin makers), especially in terms of compatibility? |
This change should not affect compatibility. #42459 and #42582 are more serious in that respect. But everything seems to be easily fixable: poingstudios/godot-admob-android#41. So it's more of an addition to current way of creating iOS specific code. The only issue users might be encountering is access to GameCenter, iCloud and other iOS modules that was previously built into iOS platform code. They are temporarily moved to |
c330baf
to
6492394
Compare
Thanks! |
@akien-mga since plugins have been merged and beta was released, should I start working on separating modules from plugins? Edit: |
Same as #41230 but for
3.2
branch.Implements godotengine/godot-proposals#1185 for
3.2
branch.Godot iOS Plugin template
Since this plugin implementation directly uses Godot's source headers it's important to use correct compilation flags.
ARKit test