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
- cmd/gomobile: fix the error when specifying -target=ios with Go 1.15 Go 1.15 no longer supports darwin/arm. This CL fixes by replacing 'allArchs' variable with a function taking a target OS, and excl... — committed to golang/mobile by hajimehoshi 4 years ago
- cmd/gomobile: use arm64 at packagesConfig Go 1.15 no longer supports darwin/arm. arm64 is still supported by Android and iOS. Updates golang/go#39575 Change-Id: I91f09477ae68de148e4d63eef38d7d28f55... — committed to golang/mobile by hajimehoshi 4 years ago
- cmd/gomobile: fix the test for Go 1.15 This is a remaining task for golang/go#39575. Updates golang/go#39575 Change-Id: I10c021a9349461a7a773d4e93e80601b906741b2 Reviewed-on: https://go-review.goog... — committed to golang/mobile by hajimehoshi 4 years ago
- cmd/gomobile: remove darwin/386 support Go 1.15 no longer supports darwin/386 and supports only arm64 and amd64 for darwin. Updates golang/go#39575 Change-Id: I89e43f195f87baf5ea647da40614c579fbe45... — committed to golang/mobile by hajimehoshi 4 years ago
- cmd/gomobile: fix the error when specifying -target=ios with Go 1.15 Go 1.15 no longer supports darwin/arm. This CL fixes by replacing 'allArchs' variable with a function taking a target OS, and excl... — committed to roderm/mobile by hajimehoshi 4 years ago
- cmd/gomobile: use arm64 at packagesConfig Go 1.15 no longer supports darwin/arm. arm64 is still supported by Android and iOS. Updates golang/go#39575 Change-Id: I91f09477ae68de148e4d63eef38d7d28f55... — committed to roderm/mobile by hajimehoshi 4 years ago
- cmd/gomobile: fix the test for Go 1.15 This is a remaining task for golang/go#39575. Updates golang/go#39575 Change-Id: I10c021a9349461a7a773d4e93e80601b906741b2 Reviewed-on: https://go-review.goog... — committed to roderm/mobile by hajimehoshi 4 years ago
- cmd/gomobile: remove darwin/386 support Go 1.15 no longer supports darwin/386 and supports only arm64 and amd64 for darwin. Updates golang/go#39575 Change-Id: I89e43f195f87baf5ea647da40614c579fbe45... — committed to roderm/mobile by hajimehoshi 4 years ago
- cmd/gomobile: fix the error when specifying -target=ios with Go 1.15 Go 1.15 no longer supports darwin/arm. This CL fixes by replacing 'allArchs' variable with a function taking a target OS, and excl... — committed to imWildCat/go-mobile by hajimehoshi 4 years ago
- cmd/gomobile: use arm64 at packagesConfig Go 1.15 no longer supports darwin/arm. arm64 is still supported by Android and iOS. Updates golang/go#39575 Change-Id: I91f09477ae68de148e4d63eef38d7d28f55... — committed to imWildCat/go-mobile by hajimehoshi 4 years ago
- cmd/gomobile: fix the test for Go 1.15 This is a remaining task for golang/go#39575. Updates golang/go#39575 Change-Id: I10c021a9349461a7a773d4e93e80601b906741b2 Reviewed-on: https://go-review.goog... — committed to imWildCat/go-mobile by hajimehoshi 4 years ago
- cmd/gomobile: remove darwin/386 support Go 1.15 no longer supports darwin/386 and supports only arm64 and amd64 for darwin. Updates golang/go#39575 Change-Id: I89e43f195f87baf5ea647da40614c579fbe45... — committed to imWildCat/go-mobile by hajimehoshi 4 years ago
- cmd/gomobile: fix the error when specifying -target=ios with Go 1.15 Go 1.15 no longer supports darwin/arm. This CL fixes by replacing 'allArchs' variable with a function taking a target OS, and excl... — committed to imWildCat/go-mobile by hajimehoshi 4 years ago
- cmd/gomobile: use arm64 at packagesConfig Go 1.15 no longer supports darwin/arm. arm64 is still supported by Android and iOS. Updates golang/go#39575 Change-Id: I91f09477ae68de148e4d63eef38d7d28f55... — committed to imWildCat/go-mobile by hajimehoshi 4 years ago
- cmd/gomobile: fix the test for Go 1.15 This is a remaining task for golang/go#39575. Updates golang/go#39575 Change-Id: I10c021a9349461a7a773d4e93e80601b906741b2 Reviewed-on: https://go-review.goog... — committed to imWildCat/go-mobile by hajimehoshi 4 years ago
- cmd/gomobile: remove darwin/386 support Go 1.15 no longer supports darwin/386 and supports only arm64 and amd64 for darwin. Updates golang/go#39575 Change-Id: I89e43f195f87baf5ea647da40614c579fbe45... — committed to imWildCat/go-mobile by hajimehoshi 4 years ago
I think we can close this issue (I donโt have a right to do this ๐