I used CocoaPods for some of my projects. It's cool and easy to keep updated with my dependencies/open source frameworks.
But I have some doubts regarding the inner workings of CocoaPods.
In our Podfile we are giving only the the name of pods, sometimes the version also,like
pod "AFNetworking" , "1.3.2"
Then it correctly finds and clones the AFNetworking repo. How this is work? How the ruby gems know the actual repository is in Github.
Are pods work with Github only? (Because I saw pods for only frameworks available on Github).
If we can use pods for dependencies in other than Github (eg from Bitbuket), how can we add that pod to our Podfile?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…