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
240
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
360
MVI : une architecture robuste et moderne pour vos applications mobiles
viteinfinite
2
500
Cross-Platform Modules with Kotlin/Native (v. 2018.10)
viteinfinite
0
71
Face Recognition with Vision & Core ML
viteinfinite
1
960
Shared Cross-Platform Modules with Kotlin/Native
viteinfinite
1
250
Server-Side Swift @ Devoxx FR
viteinfinite
0
81
Swift on the Raspberry PI
viteinfinite
0
86
Server-Side Swift
viteinfinite
0
58
Be the Quality You Want to See in Your App [Swift Edition]
viteinfinite
1
390
Other Decks in Programming
See All in Programming
プログラミング言語学習のススメ / why-do-i-learn-programming-language
yashi8484
0
120
chibiccをCILに移植した結果 (NGK2025S版)
kekyo
PRO
0
210
JavaScriptツール群「UnJS」を5分で一気に駆け巡る!
k1tikurisu
10
1.8k
Formの複雑さに立ち向かう
bmthd
1
720
第3回関東Kaggler会_AtCoderはKaggleの役に立つ
chettub
3
890
【PHP】破壊的バージョンアップと戦った話〜決断と説得
satoshi256kbyte
0
120
Pythonでもちょっとリッチな見た目のアプリを設計してみる
ueponx
1
480
2,500万ユーザーを支えるSREチームの6年間のスクラムのカイゼン
honmarkhunt
6
5.1k
Pulsar2 を雰囲気で使ってみよう
anoken
0
230
Honoとフロントエンドの 型安全性について
yodaka
4
250
Amazon S3 TablesとAmazon S3 Metadataを触ってみた / 20250201-jawsug-tochigi-s3tables-s3metadata
kasacchiful
0
100
AWS Organizations で実現する、 マルチ AWS アカウントのルートユーザー管理からの脱却
atpons
0
130
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.5k
A Modern Web Designer's Workflow
chriscoyier
693
190k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
7k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
4
400
Raft: Consensus for Rubyists
vanstee
137
6.8k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Done Done
chrislema
182
16k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
366
25k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
27
1.9k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
Agile that works and the tools we love
rasmusluckow
328
21k
How GitHub (no longer) Works
holman
313
140k
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