I have a Cocoa application with an XPC custom service. I would like to create tests for this XPC, so I created a new test suite for it and created some tests. But when I run those tests (whose error does not appear in Xcode), the IDE cannot associate them with the XPC test package. Of course, I installed Target Dependency for my XPC package, but it still doesn't work.
I think that the problem will be in the settings of Test host , but I am not very good at Xcode configuration. I also studied the Apple Guide (Demon and Service Programming Guide), but do not mention testing the XPC package. Neither is their SandboxedFetch example.
source share