I have a project that utilizes some extensions via GDExtension, and they have a dependency on a framework distributed as a .framework file. I notice that, when I export the project as a Mac app, that codesign fails with the following message:
• editor/export/editor_export_platform.h:175 - Code Signing: Code signing failed, see editor log for details.
codesign (/Users/marquis/Library/Caches/Godot/Indexing Your Heart/Indexing Your Heart.app/Contents/Frameworks/SwiftGodotCore.framework):
/Users/marquis/Library/Caches/Godot/Indexing Your Heart/Indexing Your Heart.app/Contents/Frameworks/SwiftGodotCore.framework: replacing existing signature
/Users/marquis/Library/Caches/Godot/Indexing Your Heart/Indexing Your Heart.app/Contents/Frameworks/SwiftGodotCore.framework: bundle format is ambiguous (could be app or framework)
When I inspected the framework under the app's Contents/Frameworks/SwiftGodotCore.framework, I noticed that some of the framework files have lost their executable permissions (see screenshot). Am I doing something wrong in the export settings, or is there a potential bug in Godot causing the framework to be copied incorrectly?