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/cmd/gomobile: Mygomobileios.framework/Mygomobileios(go.o)' does not contain bitcode. #32045

Open
constantinevassil opened this issue May 15, 2019 · 0 comments
Labels
mobile Android, iOS, and x/mobile NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@constantinevassil
Copy link

constantinevassil commented May 15, 2019

What version of Go are you using (go version)?

$ go version
go version go1.12.5 darwin/amd64
gomobile version +32b2708 Thu May 9 16:48:39 2019 +0000 (android,ios); androidSDK=

Does this issue reproduce with the latest release?

Yes

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
GOHOSTARCH="amd64"
GOHOSTOS="darwin"

What did you do?

gomobile bind -target=ios -tags="ios" -v -ldflags=-w mygomobileios

What did you expect to see?

Success when imported in Xcode and compiled

What did you see instead?

ld: '/mygo/src/mygomobileios/gomobileios_test/Mygomobileios.framework/Mygomobileios(go.o)' 
does not contain bitcode. 
You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), 
obtain an updated library from the vendor, or disable bitcode for this target. 
for architecture arm64
@constantinevassil constantinevassil changed the title Gomobileios.framework/Gomobileios(go.o)' does not contain bitcode. Mygomobileios.framework/Mygomobileios(go.o)' does not contain bitcode. May 15, 2019
@andybons andybons changed the title Mygomobileios.framework/Mygomobileios(go.o)' does not contain bitcode. x/mobile/cmd/gomobile: Mygomobileios.framework/Mygomobileios(go.o)' does not contain bitcode. May 15, 2019
@gopherbot gopherbot added this to the Unreleased milestone May 15, 2019
@gopherbot gopherbot added the mobile Android, iOS, and x/mobile label May 15, 2019
@andybons andybons added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label May 15, 2019
@andybons andybons modified the milestones: Unreleased, Unplanned May 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mobile Android, iOS, and x/mobile NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

3 participants