~/talk

All you Need to Know About Xcode Hidden Logs

Talkat AltConf 2019 · 2019-06-03..06-06· [developer-experience]
slides:none on file

Explains how Xcode writes hidden logs into DerivedData as gzipped xcactivitylog files using an Apple-specific SLF encoding, where doubles are timestamps since 2001 and class names appear once with many class instances. Shows a Swift open-source parser (Spotify) that decompresses, maps numeric fields to Obj‑C headers, and emits JSON and reporters (Chrome tracing, HTML). Demonstrates numbers from real runs: project build ~40s, 3 warnings, a slow Swift file at ~39s and a target at ~119s, plus CI and DB export workflows.

AI-written summary · about

  1. 0:00Introduction
  2. 0:45Report Navigator
  3. 12:30Encoding
  4. 17:07Tokenization
  5. 19:00Class Headers
  6. 21:50Project Build
  7. 23:10Parser
  8. 23:58JSON Dump
  9. 25:40JSON parser
  10. 26:20Data structure
  11. 32:13Reporting
  12. 35:10Analysis
~/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.