Chapter 13 – Missing Dumped Symbols

Let me start by saying how much I’m enjoying this book.

I’m on Chapter 13 and have encountered an issue with dumping the symbols for the executeLotsOfArguments method. Specifically when I run the lldb command image dump symfile Registers the book indicates that I should get a good bit of output that includes content like…

0x106aa0758:   Block{0x3000007db}, ranges = [0x100002f5c-0x100003404)
0x4f875cd88:     Variable{0x3000007f8}, name = "one", type = {0000000300001126} 0x0000600008E87BA0 (Swift.Int), scope = parameter, decl = ViewController.swift:92, location = DW_OP_fbreg -24

Instead I get effectively no symbols with output like,

OUTLINED_FUNCTION_1
[   11]     11     Code            0x00000001000023d8                    0x0000000000000010 0x000e0000 OUTLINED_FUNCTION_2
[   12]     12     Code            0x00000001000023e8                    0x000000000000000c 0x000e0000 OUTLINED_FUNCTION_3
[   13]     13     Code            0x00000001000023f4                    0x000000000000000c 0x000e0000 OUTLINED_FUNCTION_4
[   14]     14     Code            0x0000000100002400                    0x0000000000000010 0x000e0000

Additionally when I tried… dwarfdump --debug-info path/to/Debug/Registers.app/Contents/MacOS/Registers in the terminal I got .debug_info contents: with no output

Has the command changed? Is there something I need to change in my build configuration? I tried switching between DWARF and DWARF with dSYM File with no luck