In the separate_debug.py tool, we don't do anything special to account for the fact that on macOS, the separate debug information (the .dSYM) is a directory with substructure rather than a file. SCons is heavily file based, and it appears that trying to ignore this nuance breaks SCons in subtle ways. Instead, we will need to teach separate_debug.py about the substructure and let SCons handle it file by file. This will require changes to how auto_install_binaries.py integrates with separate_debug.py as well, since it currently uses suffix matching to determine placement. That will no longer be sufficient.