I enabled "Hardened Runtime" on the library, but it didn't fix the problem.
It does no I/O, only computation on some input values, and returns a double. Straight C code.
Since Xcode knows it's creating a dylib, wouldn't it set the necessary entitlements?
Does the same signing scenario apply to .a libs?