Under the Bridge

CocoaPods

So if you browse github a bit, you’ve probably noticed references to some ‘cocoapods’ thingy recently. And what is that exactly? Why, it’s

Screen Shot 2012-06-06 at 7.25.00 AM.png

Specify the libraries for your project in an easy to edit text file. Then use CocoaPods to resolve all dependencies, fetch the source, and set up your Xcode workspace.

Convenient, yes? There’s a nice introductory tutorial over in Wenderlichville that collects some useful links:

Introduction to CocoaPods

…. Now that you know the CocoaPods basics, you can navigate through their wiki to discover more possibilities, including creating your own Podspec and eventually submitting it to the official repository. More about this is explained here.

You can also use a dependency without creating a Podspec. This link has more info about that (and other options that a Podfile supports).

To check if CocoaPods already supports a specific library, you can search the CocoaPods website

UPDATES:

An example ‘release task’ that creates a new git tag and pushes a new pod spec, based on the version in your pod spec.

CocoaPods Best Practices

Digging into CocoaPods

Acceptance testing with Calabash and CocoaPods

Objective-C Vitamins discusses CocoaPods in the last section

Streamlining Cocoa Development With CocoaPods

0