Is your feature request related to a problem? Please describe.
The xcframework does not include a dSYM file. This is possible nowadays, and would prevent warnings such as the one in the screenshot when uploading to the App Store.
Describe the solution you'd like
One can add the -debug-symbols parameter when creating the xcframework to have the dsym files placed in the correct location, as described in this tutorial: https://msolarana.netlify.app/2021/01/12/embedding-debug-symbols-in-xcframeworks/ - the bitcode part of this tutorial no longer applies as Apple has deprecated/removed that, so the "find" complication no longer exists, it's pretty easy (TM).
Describe alternatives you've considered
dSYMs are already uploaded next to the framework (#2233), but nowadays it would make things easier if they were in the framework itself as they would auto upload to App Store Connect (and firebase crashlytics maybe?)
Additional context
For a different project, I am using this script file (based on a script by Boris Bielik) to create my framework, and it successfully inserts the dsyms at the correct location so that they are uploaded to App Store Connect too. I'm including it as an example.
createxcframework.sh.zip