Skip to content

x/mobile: go1.12beta1 how to compile  #29432

@orange-jacky

Description

@orange-jacky

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.mobileAndroid, iOS, and x/mobile

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions