Any way to specify Hardened Runtime exceptions via xcconfig files?

Xcode currently provides a UI for declaring Hardened Runtime exceptions only when building an app target. Is it possible to specify Hardened Runtime exceptions for other types of targets? How about specifying these exceptions via xcconfig files?


The reason for asking is that we build an XPCService that is loaded by Final Cut Pro. If we build our loadable code bundles + frameworks with Hardened Runtime enabled, Final Cut Pro fails to load our code, presumably because there is a mismatch between how our own code is signed vs theirs. While it is possible to enable the hardened runtime via xcconfig, there seems to be no obvious way (or documentation) on adding exceptions such as com.apple.security.cs.disable-library-validation via xcconfig files.


Thank you!