In 2019, is there a better way of building a ServiceManagement helper tool?

Based on the SMJobBless Demo sample code (https://developer.apple.com/library/archive/samplecode/SMJobBless/Introduction/Intro.html), the main application has to be built twice in order to correctly support a SMJob Helper tool.


If building the main application is a long process, building twice is annoying.


Question:


Now that we are in 2019, is there a better way to build that kind of project that does not require to build the main app twice?