-
Notifications
You must be signed in to change notification settings - Fork 61
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
Ditch .framework folders and let the export plugin copy and sign .dylib
files
#78
base: main
Are you sure you want to change the base?
Conversation
Use matrix notation to reduce clutter and update Ubuntu runner image
Unfortunately, I haven't been able to successfully export an iOS project so far, so I can't confirm whether it creates |
In that case we could either upgrade the export plugins to create the folders or keep the .framework folders and just get rid of the signing. |
If I'm seeing it correctly, you tested macOS export. I think only the iOS godot exporter upgrades to |
I tried my luck at exporting an iOS build but didn't get far. The macOS VM I'm running on my Proxmox server is very laggy. I'm going mental trying to make it work. It would be neat if someone could go metal instead - haha - and try exporting a project with the artifact for iOS and post the |
I'm on mac and I've been trying, but I'm not sure its possible without a dev account. Certainly complained every time so far. |
I tried exporting the project for iOS. It didn't succeed but there are interesting errors before the critical failure. Only happens with the GDExtension installed. Here are the full logs: https://pastebin.com/xBZru8VH. No mention of the extension's dylib.
The dylibs should be processed in
|
Since bruvzg confirmed on RocketChat that the iOS exporter should convert the raw dylibs to frameworks we should keep pursuing this.
|
This is a draft PR for removal of
.framework
folders.At the last GDExtension meeting we discussed the possibility of ditching the use of framework folders for MacOS and iOS and letting Godot's export plugin handle the code signing. This simplifies the directory structure, the library paths in the
.gdextension
file and thebuilds.yml
workflow.MacOS and iOS binaries ...
.framework
foldersbuilds.yml
workflow.dylib
extension now (supersedes Include env["suffix"] in binary names for macOS and iOS #77)Before we can consider this it needs to be verified that the export plugin's codesigning of shared objects is functional.
Here are the logs of the export on MacOS:
https://pastebin.com/EB1Pj5B5 (built-in signing)
https://pastebin.com/8qYa1sf4 (xcode signing)
You can see on line 18 that the
.dylib
file was copied toContents/Framework/
without a.framework
folder. The resulting project is functional so I can confirm that the.framework
folder doesn't seem to be required. I can't however speak on the code signing since I don't have an Apple Developer Account.If you want to reproduce you can export a project on MacOS with this artifact.