Embedding Debug Symbols in XCFrameworks

When creating and distributing a binary, a dSYM and BCSymbolMaps are generated (if Bitcode is enabled) and these artifacts contain debug information about the code you just compiled. Prior to Xcode 12, when creating an XCFramework, these additional files needed to be distributed separately or manually added into the XCFramework. Now, xcodebuild has a new option when executing the -create-xcframework command: -debug-symbols. However, the use of this option is not straightforward....