godotengine / godotengine/godot-build-scripts

Mac entitlements

Open
#34 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
110
Forks
82
Avg merge
1d 23h
Merged PRs (30d)
5

Description

I'm writing gdnative haxe (hashlink) bindings and after update to 3.3 encountered problems with registering the library.

There are [calls](https://github.com/HaxeFoundation/hashlink/blob/4c4de37d49cf0ed66b47d20d380fe95bc1bc3ec0/src/module.c#L360) to `dlopen` in hashlink with relative paths and without [`allow-dyld-environment-variables`](https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_cs_allow-dyld-environment-variables) entitlement those won't resolve properly.

Also based on [this line](https://github.com/HaxeFoundation/hashlink/blob/4c4de37d49cf0ed66b47d20d380fe95bc1bc3ec0/src/gc.c#L894) in hashlink source code i assume that [`allow-unsigned-executable-memory`](https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_cs_allow-unsigned-executable-memory) is needed too...

The library works fine with official mono build (so this is not about something else).

Is addition of these entitlements too problematic?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.