x/mobile: ios framework generated by "gomobile bind" does not contain bitcode #15691
Labels
Comments
There is currently no way to enable bitcode,
and I don't know if there is plan to add a
bitcode backend (probably not).
Please ask questions on forums. See
https://golang.org/wiki/Questions.
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Please answer these questions before submitting your issue. Thanks!
go version
)?go version go1.6.2 darwin/amd64
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"
Use "gomobile bind" to compile and create a iOS framework. Import this framework in Xcode.
Expect building successfuly.
A link error: "... does not contain bitcode"
My question is:
How to enable bitcode in "gomobile bind" ?
Thanks
The text was updated successfully, but these errors were encountered: