How can I add a cocoapod as a submodule rather tha

2019-09-09 23:13发布

问题:

I am wanting to add a cocoapod as a dependency within my Xcode project. However, I am trying to avoid using cocoapods within my project for various reasons. How can I add the pod to my project like a submodule as an alternative?

The cocoapod that I'm attempting to use is InstagramKit. I attempted to install the git repository as a submodule, which worked fine. Once there I tried adding the entire cocoapods project to my xcode project. I added it as a project dependency, but the build fails with no indication as to what went wrong. I did run pod install on the InstagramKit project that I added to my project. So all of its dependencies were properly configured. Any idea how I can add this to my project?