I code signed a dylib, and spctl says "rejected (the code is valid but does not seem to be an app)". Well, I didn't say it was an app, I just want to be sure that it is properly codesigned. I could swear this used to work.
Did you ever find a solution to this? I'm facing a similar issue.
Sorry for digging this up 3 years later, but did you ever find a solution to this?