We shouldn't prevent user from disabling XPC framework build on Darwin. However, I prefer to keep it on by default so our CI systems also test it by default on macOS.
Based on user request:
http://lists.llvm.org/pipermail/cfe-dev/2019-March/061778.html