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

Gomobile xcframework generation #41457

palyvoda opened this issue Sep 17, 2020 · 1 comment

Gomobile xcframework generation #41457

palyvoda opened this issue Sep 17, 2020 · 1 comment


Copy link

@palyvoda palyvoda commented Sep 17, 2020

Is it possible to generate .xcframework file with gomobile?

I built the .framework file with gomobile with the following command:

gomobile bind -target ios -o ../frameworks/MyFramework.framework

After that I tried to build .xcframework file with this command

xcodebuild -create-xcframework -framework "MyFramework.framework"
-output "MyFramework.xcframework"

But it shows error:

error: binaries with multiple platforms are not supported

So looks like the problem is in gomobile framework generation process.

So I see 2 solutions:

  1. To generate .xcframework file with gomobile.
  2. Change the .framework build process for being able to convert .framework generated file to .xcframework

How to do it?

Copy link

@tpaschalis tpaschalis commented Sep 17, 2020

Thanks for taking the time to open this issue. Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.

Check for some other venues, more suited for asking questions.

@toothrot toothrot closed this Sep 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

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