Learning iOS Development
How to Share iOS Library (Pod) With Others
Making your personal iOS podspecs repository
Previously I shared about how to get iOS library dependencies with Cocoapod, and how to modularize your iOS app. What about if you like to share your iOS library with others? This will write on the steps to do so…
There are a few available articles that provide detailed steps as pointed out in the references section below. I still got confused at a high level about how it is done.
Hence here I will begin with a high-level picture of how it is done.
At a high level, you’ll just need to create to repository i.e.
- A Pod Library (or many others) to be shared — An example here.
- The Personal Podspecs Repository that points to the pods to be shared — An example here.
To complete the work, I break them into 3 parts as below.
1. Create your shareable pod
This may look similar to how to modularize your iOS app, but slightly different. Instead of creating…