~/talk

Build a Binary

Talkat SwiftLeeds 2023 · 2023-10-09..10-10· [ios, devops-and-delivery]
slides:none on file

Investigation traces a Swift Playgrounds build failure when adding Firebase that surfaces the error clang Target is not supported and reveals that Playgrounds and Xcode share the same Swift and clang toolchain. Build logs in DerivedData get parsed with xlogparser to show the compiler version and defaults (LLVM/clang). Exploration covers the compiler front end, assembler (.o files), linker producing a universal fat binary, LD_Prime in Xcode 15 giving big speedups, and Bazel (artifact‑based) used at Spotify for millions of lines and 200+ iOS engineers; the original Playgrounds bug remains unresolved.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 2:49Debugging a build failure
  3. 8:27How compilers work
  4. 13:30Xcode compilers overview
  5. 19:10Xcode build system
  6. 22:44What happens when you build
  7. 24:47Compilation process deep dive
  8. 27:13Assembler and linker
  9. 31:28What is an iOS binary
  10. 33:57Alternatives to Xcode build system
  11. 37:50Solving the playground mystery
  12. 39:59Conclusion and takeaways
~/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.