As an iOS developer you have probably used third-party libraries or custom controls in your iOS project. At first, it seems easy, just drop in some files, link a library and you are done. You don’t feel the pain until you have to go back and upgrade your project either for a new version of iOS or the library. Multiply this with several projects, each with several third party libraries and you are dealing with a mess that sucks more time than you ever needed.
Now not only is there a solution to this problem but there are two solutions to choose from.
CocoaPods
CocoaPods has been around for quite some time and garnered a lot of community support. Basically, you create a Podfile that lists all your project dependencies in one text file. You then run a command line tool to install the dependencies which looks for a Pod, a spec file containing information about each library, based on the Pod it fetches the source code and adds the dependency to your Xcode workspace in a separate project.
VendorKit
VendorKit is fairly new and takes a slightly different approach. Once again you create a text file with all your project dependencies and then run a command line tool. Here’s where the difference becomes obvious: Cocoapods use standardized Podfiles that contain the names of libraries and probably version numbers which, in turn, fetches a Pod detailing information about each library. With VendorKit, you specify the library name, where it’s located, and if it has other dependencies. There is no standardization. There is a vendor spec file, but it’s only required if the library has other third-party dependencies. Other than that, it delivers on its promise, helping you manage your dependencies.
Both approaches have their own merit and and it all depends on your requirements and workflow.

Treehouse
13 Comments
Comments are closed.
Full Stack JavaScript
Front End Web Design
iOS Development with Swift
Python Web Development
Each is designed by our faculty of tech professionals to guide even a coding beginner to becoming a job-ready software developer armed with a professional portfolio of real-world projects. Try one out today with our free seven-day trial, and see if software development is for you.
Then it won’t have any fruit unless it is self pollinating, and it might
need the correct humidity before pollination will be successful.
Then it won’t have any fruit unless it is self pollinating, and it might
need the correct humidity before pollination will be successful.
Which do /you/ prefer?
Which do /you/ prefer?
Looking for a password management software that
works on Win, Mac, Blackberry, iOS and Android. Know of one?
Looking for a password management software that
works on Win, Mac, Blackberry, iOS and Android. Know of one?
interesting thoughts
interesting thoughts
interesting thoughts
yeah that’s really true it is a headache to upgrade all projects separately also take much time just to come on the level.but if this all work could done with a single text file that is fabulous piece of work.
yeah that’s really true it is a headache to upgrade all projects separately also take much time just to come on the level.but if this all work could done with a single text file that is fabulous piece of work.
I need to know which ios to use on the wad manager when i install the
forwarder. I already tried ios 249, but when it installs and i start the
channel, it says loading and just returns to the wii menu.
I need to know which ios to use on the wad manager when i install the
forwarder. I already tried ios 249, but when it installs and i start the
channel, it says loading and just returns to the wii menu.