x/mobile: Question on iOS framework size, can it be reduced somehow? #31443
Milestone
Comments
CC @hyangah |
Hi there, There are many other methods to get help if you're still looking for answers:
Thanks |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hey, I've successfully built a cross platform (iOS/Android) library using go-mobile. It works just fine but the customer says that the iOS variant's size is much more than she may tolerate including in their app - it adds 4 megabytes to the app. Leaving the customer's oddity aside, is there something you guys would recommend to do to make the resulting iOS framework any smaller?
My naive thought would be this - xmobile may include the standard Go packages in the produced framework, and while my code does not use the whole range of standard packages, they would add to the size drastically? Is there any way to select what's included so it has only what my library really needs?
Any other approaches would you recommend to pursue to get the total size of iOS framework smaller?
Thanks,
Pavlo
The text was updated successfully, but these errors were encountered: