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: ios framework generated by "gomobile bind" does not contain bitcode #15691

Closed
libnat opened this issue May 15, 2016 · 1 comment
Closed

Comments

@libnat
Copy link

libnat commented May 15, 2016

Please answer these questions before submitting your issue. Thanks!

  1. What version of Go are you using (go version)?
    go version go1.6.2 darwin/amd64
  2. What operating system and processor architecture are you using (go env)?
    GOARCH="amd64"
    GOBIN=""
    GOEXE=""
    GOHOSTARCH="amd64"
    GOHOSTOS="darwin"
    GOOS="darwin"
    GORACE=""
    GOROOT="/usr/local/go"
    GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
    GO15VENDOREXPERIMENT="1"
    CC="clang"
    GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common"
    CXX="clang++"
    CGO_ENABLED="1"
  3. What did you do?
    Use "gomobile bind" to compile and create a iOS framework. Import this framework in Xcode.
  4. What did you expect to see?
    Expect building successfuly.
  5. What did you see instead?
    A link error: "... does not contain bitcode"

My question is:
How to enable bitcode in "gomobile bind" ?

Thanks

@minux
Copy link
Member

minux commented May 15, 2016 via email

@minux minux closed this as completed May 15, 2016
@golang golang locked and limited conversation to collaborators May 15, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants