You'll need to disable the library validation from the Hardened Runtime settings in your macOS target:Documentation > Security > Hardened Runtime > Disable Library Validationhttps://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_cs_disable-library-validationHTH