build: make ios work again (#26052)

This commit is contained in:
Jakub Freebit 2022-10-27 17:23:11 +09:00 committed by GitHub
parent 0c66d971e7
commit 4984c4e63f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1150,7 +1150,7 @@ func doXCodeFramework(cmdline []string) {
tc := new(build.GoToolchain)
// Build gomobile.
build.MustRun(tc.Install(GOBIN, "golang.org/x/mobile/cmd/gomobile", "golang.org/x/mobile/cmd/gobind"))
build.MustRun(tc.Install(GOBIN, "golang.org/x/mobile/cmd/gomobile@latest", "golang.org/x/mobile/cmd/gobind@latest"))
// Build the iOS XCode framework
bind := gomobileTool("bind", "-ldflags", "-s -w", "--target", "ios", "-v", "github.com/ethereum/go-ethereum/mobile")