~/talk

Speeding up the build process of a monolithic application

Talkat iOS Conf SG 2021 · 2021-01-20..01-21· [swift]
slides:none on file

Claim: a monolithic iOS app drops clean build time from ~307s to ~57s by splitting into modules, caching built frameworks and using CI to populate caches. Technique: introduce Bazel caching with custom rules that call a tooling layer, generate projects with xcodegen, create modules via a template tool built on swift-argument-parser, and expose commands with a wrapper called steve. Results: 32 → 78 modules, core framework extracted, cache invalidation and Xcode file churn are the main gotchas.

AI-written summary · about

  1. 0:00Introduction
  2. 2:00Measurements
  3. 5:48Alternative build systems
  4. 7:52Code Base
  5. 8:25Project Structure
  6. 10:16Xcode Gen
  7. 12:23Module Gen
  8. 13:44Replace Command
  9. 15:16Project YML Manifest
  10. 15:49Project Workspace
  11. 16:49Command Configuration
  12. 17:31XCodeGen
  13. 18:17Build files
  14. 19:19bazel query
  15. 20:58bazel build
  16. 24:32steve
  17. 26:51continuous integration
  18. 27:22unit tests
  19. 28:02gotchas
  20. 29:51results
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.