Open philip-lamb opened 3 months ago
This item has been open without activity for 19 days. Provide a comment on status and remove "update needed" label.
Can anyone advise if there is a more direct way to get a bug report to the development team?
This item has been open without activity for 19 days. Provide a comment on status and remove "update needed" label.
Can anyone advise if there is a more direct way to get a bug report to the development team?
Describe the bug
Upon invocation of a method from the speech SDK in Unity, Unity attempts to load the native plugin (
libMicrosoft.CognitiveServices.Speech.core.dylib
), however this fails with the following error:"libMicrosoft.CognitiveServices.Speech.core.dylib" can't be opened because Apple cannot check it for malicious software. This software needs to be updated. Contact the developer for more information.
Examination shows the dylib is signed:
but not notarized:
This is hardly surprising, since bare dylibs, while theoretically able to be notarized, cannot be stapled in any case. The correct mechanism for distributing native plugins for Unity on Mac OS is to build the plugin as a
.bundle
including anInfo.plist
file and then submit the bundle for notarization using Apple's standard processes.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Unity should load the plugin without any further user interaction.
Workarounds
It is possible to manually create a Gatekeeper exception in System Settings->Security:
and then at the point where the error previously appeared, accept the resulting warning by clicking open:
however this is not an acceptable solution for distribution.
Version of the Cognitive Services Speech SDK
Microsoft.CognitiveServices.Speech.1.38.0.unitypackage
Platform, Operating System, and Programming Language
Additional context