I'm new to Apple XPC tech(actually I'm also new to Objective-C), recently I want to learn something about XPC technology, which is used to communicate between processes. Does anybody know how to combine a command line hello world program with an XPC program by using XCode? What I did is: 1) Create a command line 'HelloWorld' project; 2) Create a 'target' under the project 'HelloWorld' project; 3) Then I don't know how to combine them together; (maybe be set something in build setting?) If you can show me how to do this, it would be very helpful. Thanks.
My os is 10.12, xcode is 8.2.