There are already several SO questions that address this issue, but I haven't found one that completes addresses my situation.
I have projects X, Y, and Z, that all share a common framework C. The projects and the framework all use Cocoapods. I would ideally have three separate Xcode projects that all include the common framework C. So I would have, X+C, Y+C, and Z+C. Then, when I push X+C, I want it to push the changes of X to repository X, and the changes of C to repository C. I would also like to be able to pull changes from C into X, Y, or Z. I would like to work on framework from within project X, Y, or Z, and debug the framework from each of the projects X, Y, or Z.
Is this currently possible? I know there is the concept of submodules, but it doesn't sound very robust (likely to fail with branches).
Yes it's possible with pods. You can create private framework C
.
If you define path for your C
framework in podfile for your projects then the framework will be generated as development pods and you can debug and edit it.
'C', :path => './C/Source')
You can use relative path. Also you can define framework in this same git repository or add submodule for your git repository project