Using CMake to create xpc service in macOS.

You can change the bundle suffix using the BUNDLE_EXTENSION property.

Disclamer: I’ve never had to deal with xpc services, so for all I know, just changing the bundle extension might not be sufficient.