Skip to content

xcframework should include dSYM #3155

@hactar

Description

@hactar

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.

Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildRelated to build, configuration or CI/CDiOS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions