$30 off During Our Annual Pro Sale. View Details »
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
98
Face Recognition with Vision & Core ML
viteinfinite
1
1.1k
Shared Cross-Platform Modules with Kotlin/Native
viteinfinite
1
310
Server-Side Swift @ Devoxx FR
viteinfinite
0
110
Swift on the Raspberry PI
viteinfinite
0
120
Server-Side Swift
viteinfinite
0
76
Be the Quality You Want to See in Your App [Swift Edition]
viteinfinite
1
420
Other Decks in Programming
See All in Programming
Grafana:建立系統全知視角的捷徑
blueswen
0
180
Cap'n Webについて
yusukebe
0
150
チームをチームにするEM
hitode909
0
370
perlをWebAssembly上で動かすと何が嬉しいの??? / Where does Perl-on-Wasm actually make sense?
mackee
0
120
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
180
開発に寄りそう自動テストの実現
goyoki
2
1.4k
ZJIT: The Ruby 4 JIT Compiler / Ruby Release 30th Anniversary Party
k0kubun
0
260
これならできる!個人開発のすゝめ
tinykitten
PRO
0
130
Navigating Dependency Injection with Metro
l2hyunwoo
1
170
認証・認可の基本を学ぼう後編
kouyuume
0
250
Rubyで鍛える仕組み化プロヂュース力
muryoimpl
0
160
gunshi
kazupon
1
110
Featured
See All Featured
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Exploring anti-patterns in Rails
aemeredith
2
200
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
290
Raft: Consensus for Rubyists
vanstee
141
7.3k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
710
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
55
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.7k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
260
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
1.8k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.4k
Design in an AI World
tapps
0
98
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
260
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