$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Publishing your library with Carthage
Search
Frédéric Maquin
June 30, 2016
Programming
0
990
Publishing your library with Carthage
Talk given at CocoaHeads Strasbourg.
Frédéric Maquin
June 30, 2016
Tweet
Share
More Decks by Frédéric Maquin
See All by Frédéric Maquin
Bluetooth Low Energy
ephread
1
480
Trends & Patterns
ephread
0
1.7k
Seeding your library with CocoaPods
ephread
0
680
Other Decks in Programming
See All in Programming
S3 VectorsとStrands Agentsを利用したAgentic RAGシステムの構築
tosuri13
6
300
LLM Çağında Backend Olmak: 10 Milyon Prompt'u Milisaniyede Sorgulamak
selcukusta
0
110
connect-python: convenient protobuf RPC for Python
anuraaga
0
380
認証・認可の基本を学ぼう前編
kouyuume
0
190
大体よく分かるscala.collection.immutable.HashMap ~ Compressed Hash-Array Mapped Prefix-tree (CHAMP) ~
matsu_chara
1
210
Level up your Gemini CLI - D&D Style!
palladius
1
180
ゲームの物理 剛体編
fadis
0
320
UIデザインに役立つ 2025年の最新CSS / The Latest CSS for UI Design 2025
clockmaker
18
7.2k
なあ兄弟、 余白の意味を考えてから UI実装してくれ!
ktcryomm
11
11k
20251127_ぼっちのための懇親会対策会議
kokamoto01_metaps
2
420
STYLE
koic
0
150
ZOZOにおけるAI活用の現在 ~モバイルアプリ開発でのAI活用状況と事例~
zozotech
PRO
8
5.4k
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Balancing Empowerment & Direction
lara
5
790
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.6k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
10
710
Practical Orchestrator
shlominoach
190
11k
Being A Developer After 40
akosma
91
590k
Optimising Largest Contentful Paint
csswizardry
37
3.5k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
Git: the NoSQL Database
bkeepers
PRO
432
66k
Automating Front-end Workflow
addyosmani
1371
200k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
970
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