I was able to set up my Xcode Source Editor Extension to work with XPC.
When I run the app via Xcode for debugging purposes, everything works. My XPC extension is lauched.
I then Archived and distribute the project (for Development). After installing the extension and invoke a command, the XPC service never launches. I don't see it in Activity Monitor.
Additionally, the Xcode extension just shows the error:
The command "Foo" is still busy.
Why would it be opening the XPC service correctly in debug mode, but when I distribute the app, it fails to launch the XPC service?
My XPC extension (and app) depends on a shared framework I created. Not sure if that is related to the problem.