go: x/mobile/cmd/gomobile: Go1.15beta1 cannot generate Objective-c bindings because hardcoded GOARCH=arm configuration is used to load packages

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

$ go version
go version go1.15beta1 darwin/amd64

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
GOARCH="amd64"
GOOS="darwin"

What did you do?

Tried three ways, all failed with the same error gomobile bind -v -target=ios . gomobile bind -v -target=ios/arm64 . GOARCH=arm64 gomobile bind -v -target=ios .

What did you expect to see?

Generate objective-c framework

What did you see instead?

gomobile: go [-e -json -compiled=true -test=false -export=false -deps=false -find=true -tags=ios โ€“ mypkg]: exit status 2: cmd/go: unsupported GOOS/GOARCH pair darwin/arm

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 26 (12 by maintainers)

Commits related to this issue

Most upvoted comments

I think we can close this issue (I donโ€™t have a right to do this ๐Ÿ˜ƒ