As of Xcode 13.2.1, re-setting the Debug Information Format build option adds ENABLE_STDEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; lines to project.pbxproj, forcing Xcode to generate appropriate *.xcarchive/dSYMs/ content for both macOS and iOS.