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
Carthage
Search
Simone Civetta
February 12, 2015
Programming
1
200
Carthage
Introduction à Carthage, gestionnaire de dépendances alternatif à CocoaPods.
Simone Civetta
February 12, 2015
Tweet
Share
More Decks by Simone Civetta
See All by Simone Civetta
2021: CI for Mobile: State of The Art
viteinfinite
0
340
MVI : une architecture robuste et moderne pour vos applications mobiles
viteinfinite
2
480
Cross-Platform Modules with Kotlin/Native (v. 2018.10)
viteinfinite
0
66
Face Recognition with Vision & Core ML
viteinfinite
1
850
Shared Cross-Platform Modules with Kotlin/Native
viteinfinite
1
240
Server-Side Swift @ Devoxx FR
viteinfinite
0
71
Swift on the Raspberry PI
viteinfinite
0
78
Server-Side Swift
viteinfinite
0
54
Be the Quality You Want to See in Your App [Swift Edition]
viteinfinite
1
320
Other Decks in Programming
See All in Programming
Git Rebase
bkuhlmann
11
1.6k
What We Can Learn From OSS
inouehi
0
420
Hanami and htmx
bkuhlmann
0
200
Ruby Pattern Matching
bkuhlmann
0
920
検証も兼ねて個人開発でHonoとかと向き合った話
hanetsuki
0
580
スキーマ駆動開発による品質とスピードの両立 - 私達は何故、スキーマを書くのか
kentaroutakeda
0
160
Rethinking UI building strategies @ SFI 2024
letelete
0
270
Snowflakeで眠ったデータを起こそう!
estie
0
110
PHPはいつから死んでいるかの調査
chiroruxx
1
380
Anthropic Cookbook のおすすめレシピ
schroneko
7
860
Ruby GitHub Packages
bkuhlmann
0
630
Designing for tomorrow's programming workflows
honnibal
PRO
2
120
Featured
See All Featured
Making Projects Easy
brettharned
108
5.5k
Build The Right Thing And Hit Your Dates
maggiecrowley
24
2k
Automating Front-end Workflow
addyosmani
1356
200k
Navigating Team Friction
lara
178
13k
Music & Morning Musume
bryan
41
5.6k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
322
20k
Documentation Writing (for coders)
carmenintech
60
3.9k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.9k
Fireside Chat
paigeccino
21
2.6k
How To Stay Up To Date on Web Technology
chriscoyier
782
250k
Creatively Recalculating Your Daily Design Routine
revolveconf
210
11k
Building Applications with DynamoDB
mza
88
5.6k
Transcript
Carthage
None
None
None
Gestionnaire de dépendances
Justin Spahr-Summers ReactiveCocoa, Mantle, ...
Swift
Open Source https://github.com/Carthage/Carthage
Un gestionnaire de dépendances Un autre ?
None
Une philosohie différente
Une philosohie différente 4 Moins complexe 4 Plus compliqué
git + xcodebuild + resolver
Moins complexe 4 Pas de répo centralisé 4 Pas de
.podspec 4 Pas d'interaction avec Xcode
Plus compliqué 4 Nécessite configuration de Xcode manuelle 4 Plus
controllable 4 Plus maitrisable 4 Moins "WTF is happening" 4 Supporte nativement les framework dynamiques
Mais aussi 4 Plus controllable 4 Plus maitrisable 4 Moins
"WTF is happening" 4 Supporte seulement les framework dynamiques iOS 8+ seulement
Comment ça marche ?
Comment ça marche ? 4 brew install carthage
Comment ça marche ? 4 Créer le Cartfile
Comment ça marche ? 4 carthage update
Comment ça marche ? 4 carthage update
Comment ça marche ? 4 Ajouter les .frameworks à "Linked
Frameworks and Libraries"
Comment ça marche ? 4 Ajouter "Run Script" /usr/local/bin/carthage copy-frameworks
4 Ajouter les paths aux frameworks sous “Input Files” p.e. $(SRCROOT)/Carthage/Build/iOS/c.framework
Comment ça marche ?
Astuces 4 commit Carthage.resolved pour que tout le monde soit
synchro 4 vos collab devront simplement éxécuter carthage bootstrap
Créer une lib
Postulat : 4 Toutes les informations pour builder sont dans
le xcodeproj 4 Pas de .podspec
None
Astuces 4 Cartfile.private pour des dépendances internes 4 Scheme partagé
4 carthage build --no-skip-current
Merci ! https://speakerdeck.com/viteinfinite/carthage @viteinfinite