Upload
alloy020
View
772
Download
0
Embed Size (px)
DESCRIPTION
CocoaPods talk given at the RubyMotion Inspect 2013 conference. There is another version that includes speaker notes available at: https://www.slideshare.net/alloy020/ruby-motion-inspect-2013-with-notes-18677237 The videos that were shown on slide 5 and 6 are available at: https://vimeo.com/63891717 & https://vimeo.com/63891716.
Citation preview
CocoaPods@CocoaPods • cocoapods.org • github.com/CocoaPods
Eloy Durán • @alloy
More than you need to know.
What is it?
How is it used inObjective-C projects?
TODO Add video that shows manual process.
RubyMotion greatly simplifies the build process.
Can’t we just RubyifyALL THE LIBS?!
Too much dependencieswill kill you.
Minimal Dependency Policy.
1. Second guess yourself.
1. Second guess yourself.2. Will it solve my problem?
1. Second guess yourself.2. Will it solve my problem?3. Should I use this library?
1. Second guess yourself.2. Will it solve my problem?3. Should I use this library?4. Check child dependencies
and weigh it against the benefit of using it.
Details, details, details…
“Bundler hasdestroyed my life”
– Carl Lerche
Git ‘spec repo’ architectureversus hosted like
rubygems.org?
The future is out there.
Centralized specificationauthority service
Download countweb-application
CocoaDocs.org
Magic is hard work.
1. Resolve dependencies
1. Resolve dependencies 2. Fetch library sources
1. Resolve dependencies 2. Fetch library sources3. Collect build-settings
1. Resolve dependencies 2. Fetch library sources3. Collect build-settings4. Create Xcode project
1. Resolve dependencies 2. Fetch library sources3. Collect build-settings4. Create Xcode project
5. User project integration
1. Resolve dependencies 2. Fetch library sources3. Collect build-settings4. Create Xcode project
5. User project integration6. Create API documention
0
250
500
750
1000
1250
Sep 2011 Nov Jan 2012 Mar May Jul Sep Nov Jan 2013 Mar
Available Libraries
0
26250
52500
78750
105000
.0 .1 .2 .3 .4 .5 .6 .7 .8 .9 .10 .11 .12 .13 .14 .15 .16
CocoaPods Downloads Over All Minor Versions
Improve command-lineinterface experience.
Support multiple targets.
Support different configurations.
Translate API documentation for
RubyMotion
We Need You
github.com/HipByte/motion-cocoapods
One More Thing
Version 0.17 NOW!
$ gem install cocoapods$ gem install motion-cocoapods
@CocoaPodscocoapods.org
github.com/CocoaPods
@alloy@fabiopelosin@SmileyKeith
@orta