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
PSA: Carthage 0.29.0
Search
Tommaso Piazza
March 22, 2018
Programming
0
220
PSA: Carthage 0.29.0
Things you might not know about dependency management with Carthage
Tommaso Piazza
March 22, 2018
Tweet
Share
More Decks by Tommaso Piazza
See All by Tommaso Piazza
From Code to Binary
tmspzz
0
24
Mach-O Mach-O
tmspzz
2
120
Haskell's Kind System - A Primer
tmspzz
0
180
Carthage Tips & Tricks
tmspzz
1
80
Haskelll & Zip Archives - What I learned improving zip-archive
tmspzz
0
190
Caching, a simple solution to speeding up build times
tmspzz
0
570
Rome - An S3 Cache for Carthage
tmspzz
0
220
Other Decks in Programming
See All in Programming
ふかぼれ!CSSセレクターモジュール / Fukabore! CSS Selectors Module
petamoriken
0
150
CSC509 Lecture 09
javiergs
PRO
0
140
Streams APIとTCPフロー制御 / Web Streams API and TCP flow control
tasshi
2
350
CSC509 Lecture 12
javiergs
PRO
0
160
Kaigi on Rails 2024 〜運営の裏側〜
krpk1900
1
210
3rd party scriptでもReactを使いたい! Preact + Reactのハイブリッド開発
righttouch
PRO
1
600
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
1
100
CSC509 Lecture 11
javiergs
PRO
0
180
アジャイルを支えるテストアーキテクチャ設計/Test Architecting for Agile
goyoki
9
3.3k
Hotwire or React? ~アフタートーク・本編に含めなかった話~ / Hotwire or React? after talk
harunatsujita
1
120
Jakarta EE meets AI
ivargrimstad
0
540
OSSで起業してもうすぐ10年 / Open Source Conference 2024 Shimane
furukawayasuto
0
100
Featured
See All Featured
Designing on Purpose - Digital PM Summit 2013
jponch
115
7k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
24k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
8.2k
What's new in Ruby 2.0
geeforr
343
31k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2.1k
Six Lessons from altMBA
skipperchong
27
3.5k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
126
18k
Fireside Chat
paigeccino
34
3k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
65k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
Transcript
PSA: CARTHAGE 0.29.0 THINGS YOU MIGHT NOT KNOW TOMMASO PIAZZA
@TMPZ 1 — Tommaso Piazza @tmpz - Cocoa Heads Berlin 21/03/2018
NEW RESOLVER Carthage hangs indefinitely? ! Uses too much memory?
" > --new-resolver > Check your Cartfile ! > Best to pin versions (avoid surprises) ~> x.y.z 2 — Tommaso Piazza @tmpz - Cocoa Heads Berlin 21/03/2018
LESS REBUILDS Save time! ⏱ Avoid rebuilding dependencies > --cache-builds
> use a cache for cold starts (Rome) 3 — Tommaso Piazza @tmpz - Cocoa Heads Berlin 21/03/2018
BINARY DEPS Did you know? In your Cartfile declare >
binary "https://.../Answers.json" > github "Owner/Repo" checks for attached binaries! ! > Now with static framework support 4 — Tommaso Piazza @tmpz - Cocoa Heads Berlin 21/03/2018
QUICKER & RESOURCE CONSCIOUS > limited scheme discovery parallelism (4
processes) > excludes non-buildable schemes earlier ! 5 — Tommaso Piazza @tmpz - Cocoa Heads Berlin 21/03/2018
DSYMS & DEBUG SYMBOLS Carthage 0.28.0 did not generate dSYMs
properly > Fixed ✅ > Binaries include debug symbols by default 6 — Tommaso Piazza @tmpz - Cocoa Heads Berlin 21/03/2018
SMALLER BINARIES Reduce the size of your app by enabling
> COPY_PHASE_STRIP=YES (defaults to no) > carthage copy-frameworks will do the rest 7 — Tommaso Piazza @tmpz - Cocoa Heads Berlin 21/03/2018
OUTDATED DEPEDENCIES Carthage has you covered! To Build Phases ➕
a new Run Script Phase > carthage outdated --xcode-warning 8 — Tommaso Piazza @tmpz - Cocoa Heads Berlin 21/03/2018
UPDATE X WORKS AS IT SHOULD carthage update X >
now actually updates X and what X depends upon 9 — Tommaso Piazza @tmpz - Cocoa Heads Berlin 21/03/2018
CRASH NO MORE Fixed a crash when working with a
long list of dependencies 10 — Tommaso Piazza @tmpz - Cocoa Heads Berlin 21/03/2018
NEW VERSION FASTER A fix to your problem just got
merged? > brew upgrade carthage --HEAD 11 — Tommaso Piazza @tmpz - Cocoa Heads Berlin 21/03/2018
STILL HAVING ISSUES? Maintainers would ❤ if you > Searched
the existing issues before > Filled in as much details as you can > Provided a sample project (zip) 12 — Tommaso Piazza @tmpz - Cocoa Heads Berlin 21/03/2018
THANKS! THANKS TO ALL CONTRIBUTORS THAT MADE THIS POSSIBLE! >
Pull request always welcome! > Very easy to get started! > hack, pr, comments, repeat, merged! ✅ 13 — Tommaso Piazza @tmpz - Cocoa Heads Berlin 21/03/2018