Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Yet another Dependency Manager
Search
Piet Brauer
January 08, 2015
Programming
170
0
Share
Yet another Dependency Manager
Held at the local Cocoaheads Hamburg
Piet Brauer
January 08, 2015
More Decks by Piet Brauer
See All by Piet Brauer
Designing Pro Apps @ FrenchKit 2016
pietbrauer
0
740
The Future Of Computing
pietbrauer
0
67
DevOps in the iOS world
pietbrauer
0
400
FBSnapshotTestCase
pietbrauer
1
270
Modular iOS App @ UIKonf 2014
pietbrauer
7
270
Scaling iOS Development
pietbrauer
1
97
Modular iOS Apps
pietbrauer
2
350
Unit Testing
pietbrauer
1
85
Other Decks in Programming
See All in Programming
Reactive ❤️ Loom: A Forbidden Love Story
franz1981
2
230
[PHPerKaigi 2026]PHPerKaigi2025の企画CodeGolfが最高すぎて社内で内製して半年運営して得た内製と運営の知見
ikezoemakoto
0
340
Linux Kernelの1文字のミスで 権限昇格ができた話
rqda
0
2.3k
飯MCP
yusukebe
0
490
KagglerがMixSeekを触ってみた
morim
0
370
Go_College_最終発表資料__外部公開用_.pdf
xe_pc23
0
160
へんな働き方
yusukebe
6
2.9k
How Swift's Type System Guides AI Agents
koher
0
200
Make GenAI Production-Ready with Kubernetes Patterns
bibryam
0
100
PHPで TLSのプロトコルを実装してみるをもう一度しゃべりたい
higaki_program
0
190
アーキテクチャモダナイゼーションとは何か
nwiizo
17
4.8k
SkillがSkillを生む:QA観点出しを自動化した
sontixyou
6
3.2k
Featured
See All Featured
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
500
Building AI with AI
inesmontani
PRO
1
880
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
360
So, you think you're a good person
axbom
PRO
2
2k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1k
HDC tutorial
michielstock
1
610
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.2k
Docker and Python
trallard
47
3.8k
SEO for Brand Visibility & Recognition
aleyda
0
4.5k
Odyssey Design
rkendrick25
PRO
2
570
Rebuilding a faster, lazier Slack
samanthasiow
85
9.5k
Transcript
Yet another Dependency manager by the creator of @AirportQuiz
Cocoapods • since 17/9/2011 • originally created by @alloy •
written in ruby • currently 7499 packages published
Carthage • since 18/11/2014 • created by jspahrsummers • written
in Swift • theoretically every Xcode project can be a package
Cocoapods Installation gem install cocoapods
Carthage installation brew install carthage
Providing a package (Cocoapods edition) • build your project •
specify a podspec (easy ruby syntax) • push it to trunk • new authentication system • pushes it to Github specs repository
Providing a package (Carthage edition) • build your project •
define dependencies (if any) in a Cartfile (custom DSL) • provide a Xcode project that builds a framework
Integrating other projects into yours (Cocoapods) • Write it down
in Podfile • pod "NBNRealmBrowser", '~> 0.2.0' • pod install • Cocoapods will download dependencies and integrate them into your project
Integrate other projects into yours (Carthage) • Write down in
Cartfile • github "NBNPhotoChooser" ~> 0.2.0 • carthage update • integrate the built .frameworks yourself
Upsides Cocoapods • well done dev toolset around dependencies •
Cocoadocs • project bootstrapping • widely adopted and supported • no integration pain
Upsides Carthage • new and fresh • not another language
to know • feels more natural for iOS developers
Downsides Cocoapods • modifies your project and you have to
use a Xcode workspace • written in Ruby
Downsides Carthage • pretty new • adoption is not as
widely as with cocoapods • integration is still a small pain • iOS 8 only
Conclusion This page intentionally left blank.