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

Strip binary symbols to reduce app size #1030

Open
mplorentz opened this issue Dec 14, 2022 · 2 comments
Open

Strip binary symbols to reduce app size #1030

mplorentz opened this issue Dec 14, 2022 · 2 comments
Labels
tech A label for technical debt or technology upgrades.

Comments

@mplorentz
Copy link
Member

We can likely get a significant reduction in app size by stripping binary symbols from our release builds. Inspiration: https://www.emergetools.com/blog/posts/how-xcode14-unintentionally-increases-app-size?utm_campaign=iOS%2BDev%2BWeekly&utm_medium=email&utm_source=iOS%2BDev%2BWeekly%2BIssue%2B585

@mplorentz mplorentz converted this from a draft issue Dec 14, 2022
@mplorentz mplorentz changed the title Strip debug symbols to reduce app size Strip binary symbols to reduce app size Dec 14, 2022
Copy link
Contributor

rabble commented Dec 14, 2022

Oh yeah, I added them so that we could see the full trace logs in bugsnag. We could setup debug symbols in testflight releases and only in pronduction if it's big. but this is a good idea for most users.

@mplorentz
Copy link
Member Author

Ah ok. We should be able to fully symbolicate stack traces in Bugsnag without shipping the binary symbols I think. You just need to upload dSYM files to Bugsnag as part of the release process. We have or had a build script that would do this automatically on release builds in Xcode. We should check that it's still working when we do this ticket.

@boreq boreq added the tech A label for technical debt or technology upgrades. label Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tech A label for technical debt or technology upgrades.
Projects
None yet
Development

No branches or pull requests

3 participants