Libinterceptor.dylib: stat() failed with errno=1

I’ve been trying to work with the library but i get always that error in the build and when i try to start the build-wrapper to scan it doesn’t get detected.

dyld: warning: could not load inserted library '/Users/ujenkins/Downloads/build-wrapper/libinterceptor.dylib' into hardened process because no suitable image found.  Did find:
	/Users/ujenkins/Downloads/build-wrapper/libinterceptor.dylib: code signature in (/Users/ujenkins/Downloads/build-wrapper/libinterceptor.dylib) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
/Users/ujenkins/Downloads/build-wrapper/libinterceptor.dylib: stat() failed with errno=1
/Users/ujenkins/Downloads/build-wrapper/libinterceptor.dylib: code signature in (/Users/ujenkins/Downloads/build-wrapper/libinterceptor.dylib) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.

The only way to get an accurate analysis of C/C++/Objective-C files is by using the SonarSource build-wrapper
[qa] and setting the property "sonar.cfamily.build-wrapper-output", but it was not specified.
[qa] 
[qa] If you don't want to analyze C/C++/Objective-C files, then prevent them from being analyzed by setting the following properties:
[qa] 
[qa]     sonar.c.file.suffixes=-
[qa]     sonar.cpp.file.suffixes=-
[qa]     sonar.objc.file.suffixes=-

Hello,

Sorry for the delay, I missed your post.
When you say you have an error in the build, you mean while using build-wrapper? Does your build succeed without build-wrapper?

What version of SonarQube are you using? What is your setup (os, build command)?

If that can help, we have some configuration examples for Jenkins