Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xcframework should include dSYM #3155

Open
hactar opened this issue Jan 18, 2025 · 1 comment
Open

xcframework should include dSYM #3155

hactar opened this issue Jan 18, 2025 · 1 comment
Labels
build Related to build, configuration or CI/CD iOS

Comments

@hactar
Copy link
Collaborator

hactar commented Jan 18, 2025

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

@hactar hactar added the iOS label Jan 18, 2025
@louwers louwers added the build Related to build, configuration or CI/CD label Jan 19, 2025
@louwers
Copy link
Collaborator

louwers commented Jan 19, 2025

Thanks for the hint, that sounds very doable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Related to build, configuration or CI/CD iOS
Projects
None yet
Development

No branches or pull requests

2 participants