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
190
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
830
Shared Cross-Platform Modules with Kotlin/Native
viteinfinite
1
230
Server-Side Swift @ Devoxx FR
viteinfinite
0
67
Swift on the Raspberry PI
viteinfinite
0
75
Server-Side Swift
viteinfinite
0
54
Be the Quality You Want to See in Your App [Swift Edition]
viteinfinite
1
300
Other Decks in Programming
See All in Programming
Crafting a Own PHP - ウキウキ手作りミニマリストPHP
uzulla
4
960
htmx is fun!
codehex
2
170
PHPカンファレンス関西2024でLTとスタッフした
ohmori_yusuke
2
120
C#でのPlaywrightを使ったE2Eテストの実際
tomokusaba
0
210
ファイル先頭の use の意味、説明できますか? 〜PHP の namespace と autoloading の関係を正しく理解しよう〜 / namespace and autoloading in php
okashoi
2
400
Microsoft Fabricを7ヶ月使ってわかったこと
shun_oshidari
2
450
Catch Up with Swift 5.10
ojun9
1
450
マイ隙間家具OSSたちのご紹介
karupanerura
2
130
DDD, necessary but insufficient: physical design principles for microservices
cer
PRO
0
120
【KMC春合宿2024】実装視点で見るNeural Radiance Fields
runningoutrate
0
130
TDDと今まで
kanayannet
0
110
Не учите алгоритмы
hellsquirrel
1
700
Featured
See All Featured
Building a Modern Day E-commerce SEO Strategy
aleyda
15
6.3k
The Mythical Team-Month
searls
214
42k
What the flash - Photography Introduction
edds
64
11k
How to train your dragon (web standard)
notwaldorf
71
5k
Rebuilding a faster, lazier Slack
samanthasiow
72
8.1k
Done Done
chrislema
178
15k
StorybookのUI Testing Handbookを読んだ
zakiyama
10
4.4k
Statistics for Hackers
jakevdp
789
220k
The Invisible Customer
myddelton
114
12k
Infographics Made Easy
chrislema
237
17k
WebSockets: Embracing the real-time Web
robhawkes
59
6.9k
Fantastic passwords and where to find them - at NoRuKo
philnash
35
2.4k
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