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
260
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
370
MVI : une architecture robuste et moderne pour vos applications mobiles
viteinfinite
2
520
Cross-Platform Modules with Kotlin/Native (v. 2018.10)
viteinfinite
0
90
Face Recognition with Vision & Core ML
viteinfinite
1
1k
Shared Cross-Platform Modules with Kotlin/Native
viteinfinite
1
300
Server-Side Swift @ Devoxx FR
viteinfinite
0
97
Swift on the Raspberry PI
viteinfinite
0
110
Server-Side Swift
viteinfinite
0
74
Be the Quality You Want to See in Your App [Swift Edition]
viteinfinite
1
420
Other Decks in Programming
See All in Programming
Verilator + Rust + gRPC と Efinix の RISC-V でAIアクセラレータをAIで作ってる話 RTLを語る会(18) 2025/11/08
ryuz88
0
330
仕様がそのままテストになる!Javaで始める振る舞い駆動開発
ohmori_yusuke
4
1.5k
例外処理を理解して、設計段階からエラーを見つけやすく、起こりにくく #phpconfuk
kajitack
12
5.7k
AIの弱点、やっぱりプログラミングは人間が(も)勉強しよう / YAPC AI and Programming
kishida
7
3.5k
自動テストを活かすためのテスト分析・テスト設計の進め方/JaSST25 Shikoku
goyoki
2
560
Vue 3.6 時代のリアクティビティ最前線 〜Vapor/alien-signals の実践とパフォーマンス最適化〜
hiranuma
2
430
Flutterアプリ運用の現場で役立った監視Tips 5選
ostk0069
1
320
Swift Concurrency 年表クイズ
omochi
3
220
CSC509 Lecture 09
javiergs
PRO
0
290
「正規表現をつくる」をつくる / make "make regex"
makenowjust
1
120
Eloquentを使ってどこまでコードの治安を保てるのか?を新人が考察してみた
itokoh0405
0
3.1k
ネストしたdata classの面倒な更新にさようなら!Lensを作って理解するArrowのOpticsの世界
shiita0903
1
290
Featured
See All Featured
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
11
920
The Cost Of JavaScript in 2023
addyosmani
55
9.2k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
GraphQLとの向き合い方2022年版
quramy
49
14k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
34
2.3k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.7k
The Cult of Friendly URLs
andyhume
79
6.7k
Visualization
eitanlees
150
16k
Practical Orchestrator
shlominoach
190
11k
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