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
Publishing your library with Carthage
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Frédéric Maquin
June 30, 2016
Programming
990
0
Share
Publishing your library with Carthage
Talk given at CocoaHeads Strasbourg.
Frédéric Maquin
June 30, 2016
More Decks by Frédéric Maquin
See All by Frédéric Maquin
Bluetooth Low Energy
ephread
1
490
Trends & Patterns
ephread
0
1.7k
Seeding your library with CocoaPods
ephread
0
690
Other Decks in Programming
See All in Programming
リセットCSSを1行消したらアクセシビリティが向上した話
pvcresin
4
520
WebAssembly を読み込むベストプラクティス 2026年春版 / Best Practices for Loading WebAssembly (Spring 2026)
petamoriken
5
1.1k
Lightning-Fast Method Calls with Ruby 4.1 ZJIT / RubyKaigi 2026
k0kubun
3
3.2k
開発体験を左右するライブラリの API 設計 - GraphQL スキーマ構築ライブラリから考える #tskaigi
izumin5210
1
170
【ディップ|26年新卒研修資料】OpenAPI/Swagger REST API研修
dip_tech
PRO
0
170
AI時代になぜ書くのか
mutsumix
0
420
AlarmKitで明後日起きれるアラームアプリを作る
trickart
0
140
検索設計から 推論設計への重心移動と Recall-First Retrieval
po3rin
5
1.7k
(Re)make Regexp in Ruby: Democratizing internals for the JIT
makenowjust
3
1.1k
サーバーレスで作る、動画データ管理基盤
oyasumipants
0
210
ふにゃっとしない名前の付け方 〜哲学で茹で上げる、コシのあるソフトウェア設計〜
shimomura
0
120
〜バイブコーディングを超えて〜 チームで実験し続けたAI駆動開発
tigertora7571
0
210
Featured
See All Featured
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
280
Into the Great Unknown - MozCon
thekraken
41
2.5k
Un-Boring Meetings
codingconduct
0
290
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
210
Context Engineering - Making Every Token Count
addyosmani
9
890
Making the Leap to Tech Lead
cromwellryan
135
9.8k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
360
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.1k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
360
Unsuck your backbone
ammeep
672
58k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
910
RailsConf 2023
tenderlove
30
1.4k
Transcript
PUBLISHING YOUR LIBRARY WITH CARTHAGE Frédéric Maquin @ephread CocoaHeads Strasbourg
June 30th, 2016
2
Decentralised dependency manager for Xcode projects. 3
OCTOBER 2014 JUSTIN SPAHR-SUMMERS 4
OCTOBER 2014 JUSTIN SPAHR-SUMMERS 4
Written in Swift. Based on iOS 8+ dynamic frameworks. 5
VS. 6
CocoaPods is CENTRALISED, EASY but INTRUSIVE. 7
Carthage is DECENTRALISED, UNINTRUSIVE and SIMPLE. CARTHAGE 8
EASY SIMPLE ≠ 9
GETTING STARTED 10
INSTALLATION $ brew install carthage 11
INSTALLATION https://github.com/Carthage/Carthage/releases or download PREBUILT PACKAGES. 12
Cartfile github "ReactiveCocoa/ReactiveCocoa" git "https://enterprise.local/desktop/git-error-translations2.git" 13
Cartfile github "ReactiveCocoa/ReactiveCocoa" git "https://enterprise.local/desktop/git-error-translations2.git" ~> 4.0 13
Cartfile github "ReactiveCocoa/ReactiveCocoa" git "https://enterprise.local/desktop/git-error-translations2.git" "master" 13
Cartfile $ carthage update 14
Cartfile $ carthage update FETCH the code and BUILD the
framework. 14
FRAMEWORK LINKING 15
STRIP ARCHITECTURE (iOS) Work around an App Store BUG. 16
You’re ALL SET! 17
PUBLISH 18
Bundle your code in a FRAMEWORK. 19
Share your SCHEMES. PRODUCT > SCHEME > MANAGE SCHEMES… 20
It doesn’t get any SIMPLER. 21
It doesn’t get any SIMPLER. But don’t forget to TAG
versions. 21
It doesn’t get any SIMPLER. But don’t forget to TAG
versions. And PUSH the code somewhere… 21
IN SHORT 22
CocoaPods is EASY TO USE and can LINT/ANALYSE your code.
PROS 23
CocoaPods can even generate the DOCUMENTATION for you. PROS 24
CONS CocoaPods is INTRUSIVE and can be SLOW. 25
Pods require some WORK to publish. CONS 26
Carthage is FAST, UNINTRUSIVE and SIMPLE. CARTHAGE PROS 27
Carthage ONLY SUPPORTS iOS 8+. CARTHAGE CONS 28
Carthage requires more work when IMPORTING LIBRAIRIES. CARTHAGE CONS 29
By the way, I prefer CARTHAGE over COCOAPODS. :o) 30
QUESTIONS? 31