x/mobile: go1.12beta1 how to compile #29432
Closed
Milestone
Comments
Thank you for filing this question @orange-jacky and welcome to the Go project! I'll kindly page some experts @hyangah @eliasnaur @rakyll to help answer you. |
I believe this is a dup of #27234. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
macbookpro:tmp fredlee$ go version
go version go1.12beta1 darwin/amd64
macbookpro:tmp fredlee$ go get golang.org/x/mobile/cmd/gomobile
go: finding golang.org/x/mobile/cmd/gomobile latest
go: finding golang.org/x/mobile/cmd latest
go: finding golang.org/x/mobile latest
macbookpro:tmp fredlee$ gomobile init
macbookpro:tmp fredlee$ go get -d golang.org/x/mobile/example/basic
go: finding golang.org/x/mobile/example/basic latest
go: finding golang.org/x/mobile/example latest
go: finding golang.org/x/mobile latest
macbookpro:tmp fredlee$ gomobile build -target=ios golang.org/x/mobile/example/basic
gomobile: cannot find package "golang.org/x/mobile/example/basic" in any of:
/usr/local/go/src/golang.org/x/mobile/example/basic (from $GOROOT)
/Users/fredlee/Documents/develop/go/workspace/src/golang.org/x/mobile/example/basic (from $GOPATH)
The text was updated successfully, but these errors were encountered: