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
27
Mach-O Mach-O
tmspzz
2
130
Haskell's Kind System - A Primer
tmspzz
0
180
Carthage Tips & Tricks
tmspzz
1
84
Haskelll & Zip Archives - What I learned improving zip-archive
tmspzz
0
190
Caching, a simple solution to speeding up build times
tmspzz
0
610
Rome - An S3 Cache for Carthage
tmspzz
0
220
Other Decks in Programming
See All in Programming
CloudflareのChat Agent Starter Kitで簡単!AIチャットボット構築
syumai
2
490
AI Coding Agentのセキュリティリスク:PRの自己承認とメルカリの対策
s3h
0
200
アセットのコンパイルについて
ojun9
0
120
意外と簡単!?フロントエンドでパスキー認証を実現する WebAuthn
teamlab
PRO
2
740
Kiroで始めるAI-DLC
kaonash
2
580
HTMLの品質ってなんだっけ? “HTMLクライテリア”の設計と実践
unachang113
4
2.8k
Navigation 2 を 3 に移行する(予定)ためにやったこと
yokomii
0
170
Azure SRE Agentで運用は楽になるのか?
kkamegawa
0
2.2k
奥深くて厄介な「改行」と仲良くなる20分
oguemon
1
520
Putting The Genie in the Bottle - A Crash Course on running LLMs on Android
iurysza
0
140
Cache Me If You Can
ryunen344
2
700
testingを眺める
matumoto
1
140
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
131
19k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.6k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
[RailsConf 2023] Rails as a piece of cake
palkan
57
5.8k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
33
2.4k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Thoughts on Productivity
jonyablonski
70
4.8k
GitHub's CSS Performance
jonrohan
1032
460k
Typedesign – Prime Four
hannesfritz
42
2.8k
How to Think Like a Performance Engineer
csswizardry
26
1.9k
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