Using XCode 7.0.1 and OSX 10.10.5.
I have a workspace with 2 projects, say A and B (projects - not frameworks or libraries). To investigate whether it all works, the main.mm of Project B (a Cocoa application) includes .h files from project A (which is a C++ command-line project)
When I try to build the target of product B, I get an error that the .h files of A cannot be found. But they are in the workspace, and I can see the code.
I thought these implicit dependencies were supposed to be resolved automatically. If I open project B by itself, I cannot add a dependency on project A, as project A is not a library or framework.
What is the magic to make this workspace work as advertised? (Also, if this header problem can be fixed, and if I'm going to have a link problem, perhaps address that issue as well.)
Further info: Project A builds and runs fine both in the workspace and stand-alone. In the workspace schemes of both projects, the text box to find implicit dependencies is checked.
I realize my question has been asked previously, but usually frameworks/libraries are involved. I have seen nothing which addresses the issue of only projects. (Please do not address the mixing of objective-C and C++ (unless relevant to my #include problem) - I can make these work together just fine.) I want to be able to modify the individual projects as I develop large applications, and I understand I should be able to do that in a workspace.
Thanks in advance.