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
22
Mach-O Mach-O
tmspzz
2
120
Haskell's Kind System - A Primer
tmspzz
0
170
Carthage Tips & Tricks
tmspzz
1
74
Haskelll & Zip Archives - What I learned improving zip-archive
tmspzz
0
170
Caching, a simple solution to speeding up build times
tmspzz
0
510
Rome - An S3 Cache for Carthage
tmspzz
0
200
Other Decks in Programming
See All in Programming
MetricKitで予期せぬ終了を検知する話 / Detect unexpected termination with MetricKit
nekowen
1
190
見た目から始める生産性向上
ikumatadokoro
7
840
"config" ってなんだ? / What is "config"?
okashoi
0
240
try!Swift Tokyo 2024 参加報告 LT
akidon0000
1
220
データアナリストが行うDatabricksを活用したETLの自動化事例
shinoa
0
270
Code Reviews
bkuhlmann
4
890
Blue/Greenデプロイの導入による 運用フローの改善
kudoas
1
380
Scalable Customer Journey Orchestration (CJO)
lewuathe
0
300
AWS Application Composerで始める、 サーバーレスなデータ基盤構築 / 20240406-jawsug-hokuriku-shinkansen
kasacchiful
1
260
GitHub Actionsで泣かないためにやっておきたい設定 / Recommended GHA settings to avoid crying
pinkumohikan
3
530
Ruby GitHub Packages
bkuhlmann
0
630
VS Code をプロダクトにどう取り込むか
onomax
1
360
Featured
See All Featured
Infographics Made Easy
chrislema
238
18k
Testing 201, or: Great Expectations
jmmastey
28
6.4k
Gamification - CAS2011
davidbonilla
76
4.6k
Pencils Down: Stop Designing & Start Developing
hursman
117
11k
Art, The Web, and Tiny UX
lynnandtonic
289
19k
Code Review Best Practice
trishagee
55
15k
VelocityConf: Rendering Performance Case Studies
addyosmani
320
23k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
40
4.4k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
226
51k
The Mythical Team-Month
searls
216
42k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
19
1.7k
Writing Fast Ruby
sferik
621
60k
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