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

x/mobile: Question on iOS framework size, can it be reduced somehow? #31443

pavlo opened this issue Apr 12, 2019 · 3 comments

x/mobile: Question on iOS framework size, can it be reduced somehow? #31443

pavlo opened this issue Apr 12, 2019 · 3 comments


Copy link

@pavlo pavlo commented Apr 12, 2019

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?


@gopherbot gopherbot added this to the Unreleased milestone Apr 12, 2019
@gopherbot gopherbot added the mobile label Apr 12, 2019
@bcmills bcmills added the Question label Apr 12, 2019
Copy link

@bcmills bcmills commented Apr 12, 2019

Copy link

@drewpitchford drewpitchford commented May 8, 2019

@hyangah @bcmills Any response to this? I'm also needing to reduce the size of an SDK that includes a Go-Mobile iOS framework.

Copy link

@andybons andybons commented Aug 12, 2019

Hi there,
We have decided that our experiment to allow questions on the issue tracker has not had the outcome we desired, so I am closing this issue. I'm sorry that we can't answer your question here.

There are many other methods to get help if you're still looking for answers:


@andybons andybons closed this Aug 12, 2019
@golang golang locked and limited conversation to collaborators Aug 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.