Signing Binary for Apple to detect developer

I'm currently having a project where we will distribute a package including a compiled binary. However when compiling it for OS X. We always get a warning when opening it. "{Libraryname} cannot be opened because developer cannot be verified". We have tried to sign it with our apple developer team certificates but without success. Tried following guides for Building mac OS apps and iOS apps but dosen't seem to apply for pure binaries as expected.

I’d like to clarify your goal here. Are you distributing an executable? Or a shared library? Or some other type of binary?

Tried following guides for … but dosen't seem to apply for pure binaries as expected.

Indeed. While our official docs are very focused on apps, I have a bunch of posts here on DevForums that cover products, including:

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Signing Binary for Apple to detect developer
 
 
Q