Sane library management for Xcode
OAuth2Client.xcodeproj
into your projectOAuth2Client
as a build dependencyOAuth2Client/**
to your user header search path in the build settingsOAuth2Client
(drag the OAuth2Client product from OAuth2Client.xcodeproj to your targets Link Binary With Libraries)#import "NXOAuth2.h"
Python has easy_install/pip
Ruby has gem
JavaScript has npm
Java has Maven
Objective-C has ?
gem install cocoapods
Podfile
to your project folderpod install
App.xcworkspace
instead of App.xcproject
Pod::Spec.new do |s|
s.name = 'MBProgressHUD'
s.version = '0.5'
s.platform = :ios
s.license = 'MIT'
s.summary = 'An iOS activity indicator view.'
s.homepage = 'https://github.com/matej/MBProgressHUD'
s.author = { 'Matej Bukovinski' => 'matej@bukovinski.com',
'Jonathan George' => 'jonathan@jdg.net' }
s.source = { :git => 'https://github.com/jdg/MBProgressHUD.git', :tag => '0.5' }
s.source_files = '*.{h,m}'
s.framework = "CoreGraphics"
end
Referencing a local folder in a podspec
Host your own repository of podspecs
Last night: 589 pods
Contributing is easy, just fork and create a pull request
Handles difference between ARC and non-ARC dependencies
:test/:dev
scopes available
iOS and OSX dependencies