~/talk

Hacking Marzipan

Talkat try! Swift NYC 2018 · on Wednesday, 2018-09-05· [swift]

A full‑blown PDF app (million+ lines, C/C++/Obj‑C/Swift) actually runs on macOS Mojave after hacking Marzipan: using marzipan-platter and marzipan-afire, disabling SIP with csrutil disabled, adding the private iOSMac entitlement, editing the system Swift whitelist, mangling headers, weak‑linking and injecting missing UI classes (e.g. UIWindowToolbarController), and automating packaging with a script. Expect frequent crashes, GPU requirements that break VMs, and fixes for missing frameworks like SafariVC, Photos, and print stacks.

AI-written summary · about

  1. 0:00Intro
  2. 0:18HACKING MARZIPAN
  3. 1:22WHAT IS MARZIPAN
  4. 2:14SOME HISTORY
  5. 6:03TIMELINE
  6. 7:16FUN FACTS
  7. 9:17IOSMAC ARCHITECTURE
  8. 11:13PROCESSES
  9. 13:17UIKITSYSTEM ENTITLEMENTS
  10. 13:33DISCLAIMER * Things will break
  11. 14:41VIRTUAL MACHINES DO NOT WORK
  12. 18:00UISTACKVIEW SYSTEM SPACING
  13. 19:02ADDS A FEW METHODS TO RUNTIME "MARZIPAN GLUE"
  14. 19:14PATCHES INFO.PLIST
  15. 19:30MODIFIES MACH HEADER
  16. 19:43REAL-WORD EXAMPLE PDF VIEWER FOR MAC
  17. 20:02STEP 2: REMOVE FEATURES!
  18. 21:21AUTOMATE
  19. 21:50WHITELIST SWIFT
  20. 23:00PATCH MISSING METHODS
  21. 24:03BECOME A BETTER MAC CITIZEN
  22. 25:27IT'S NEVER THAT EASY...
  23. 26:00ACKNOWLEDGEMENTS
~/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.