Skip to content
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

Entitlements.plist should overridable on MacOS builds #1258

Open
credmond opened this issue Jul 20, 2024 · 1 comment
Open

Entitlements.plist should overridable on MacOS builds #1258

credmond opened this issue Jul 20, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@credmond
Copy link

credmond commented Jul 20, 2024

Expected Behavior

Entitlements.plist should overridable on MacOS

Current Behavior

It's not.

Context

When you have embedded binaries in a native image, i.e., from third party libs, the third-party code will often copy them to the tmp folder and load them (i.e., with System.load()). MacOs blocks these, giving zero clue about why: but it's because they're not signed, even though the native image is signed.

There's quite a few examples of this sort of thing (in other languages), and discussions on Apple forums about equivalent problems. Although, it's quite a rare requirement, but obviously fundamental to GraalVM native images.

So there are hacks/tweaks that you can add to Entitlements.plist to overcome this. Entitlements.plist should be overridable like it is for OS X. Let's not forget about Java Desktop. Every major popular open source JavaFX project is desktop, not a single mobile project. -- and they're all talking about moving to native image, but get blocked and discouraged early on.

@credmond credmond added the enhancement New feature or request label Jul 20, 2024
@credmond
Copy link
Author

E.g., of similar problem/solution: FreeCAD/FreeCAD#11071

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant