acoustid / chromaprint

C library for generating audio fingerprints used by AcoustID
Other
971 stars 133 forks source link

how to enable hardened runtime for Chromaprint. #62

Open aslam548 opened 5 years ago

aslam548 commented 5 years ago

how to enable hardened runtime for Chromaprint. when we notarized build it will give error.Any solution for hardened runtime enable. can you please tell me source code of chromaprint.

phw commented 5 years ago

It seems to be possible to use the hardened runtime with cmake:

https://stackoverflow.com/questions/56023947/cmake-xcode-generator-add-capability-hardened-runtime

phw commented 5 years ago

@aslam548 I did some research, the hardened runtime is actually a flag getting applied during code signing. So when you codesign your app you should do so with the --options runtime parameter.

See https://stackoverflow.com/questions/55841118/is-the-macos-hardened-runtime-a-part-of-the-os-sdk