Thanks for the tip - I am unfamiliar with organization support in GitHub. Will check that out!
FWIW regarding the advice document I’m finding it quite helpful, but I’m running into trouble with building the XPC services that I think may reflect a misunderstanding on my part. Maybe it could be clarified in the document:
The first thing I noticed is when trying to build e.g. iMediaTester none of the XPC services are built, so I tried adding them as specific dependencies on iMedia.framework. This leads to some issues with Xcode considering there to be a dependency cycle.
I see in your documentation you allude to needing to manually build all the XPC services you want and then add them to the copy files phase for XPC bundling. But how does this work in practice for automated, recurring builds of the host app and iMedia?
I think this must have something to do with your use in the sample project of "Automatic Dependency" resolution. This is not something I use in my host apps and probably will not start using. I wonder if there’s a way to specify the dependencies in such a way that the cycle is avoided and it will work consistently for host apps that don’t use the automatic dependencies?
What I’ve done in the past for situations like this is build a DYLD "stub library" for the parent framework (iMedia in this case). Then the subsidiary pieces can link against the stub instead of depending explicitly on the parent library already being built.
Daniel