I've developed and distributed a plugin for Unreal Engine (builds as a .dylib). The plugin dynamically loads an external library that is a .bundle
The plugin has been notarized successfully. (Both the .dylib and the .bundle were signed with a Developer Application ID certificate.)
When the plugin is downloaded, both the .dylib and the .bundle get flagged with the quarantine attribute, however because it was notarized, the plugin is able to be loaded inside of Unreal Engine with no problem.
The issue occurs when the user moves the Unreal Engine project (with said plugin) to an external drive. In this case, once the project is opened and tries to load the plugin, an error saying is "***.bundle is damaged and can’t be opened. You should move it to the Trash."
I'm wondering if this is an Unreal Engine issue, or a MacOS(notarization/signing/entitlements/etc) issue.
Feels like if the .bundle is placed on an external drive, the OS does not check for notarization.
- If i move the project back to the HD of the laptop, everything works as expected.
- If i move the project to an external drive AND manually remove the com.apple.quarantine attribue (via terminal), then everything works as expected.