I have a workspace with 3 projects:
Common is a common library that MyApp depends on. I\'d like to setup Coc
I'm not sure how to fix the setup you have, but if I were you I would make Common
into its own Pod. Pods can be private and just stored in GitHub as a repo. Of course, you need a podspec for Common
but I built a sample to test that setup for our build service and it took me less than 30 mins to get it right.
Then in your Podfile for MyApp, you do something like this:
pod 'Common', :git => 'git@github.com:lyahdav/Common.git', :commit => 'a1b2c3d'
And AFNetworking
and Reachability
can be referenced in the podspec of Common
(assuming that's the right dependency).
This setup also allows you to include Common
in whatever other apps you're building without having to embed the code. Again, making assumptions about what you're trying to achieve, so add more detail to the question if that's not right.