build: make ios work again (#26052)
This commit is contained in:
parent
0c66d971e7
commit
4984c4e63f
@ -1150,7 +1150,7 @@ func doXCodeFramework(cmdline []string) {
|
|||||||
tc := new(build.GoToolchain)
|
tc := new(build.GoToolchain)
|
||||||
|
|
||||||
// Build gomobile.
|
// 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
|
// Build the iOS XCode framework
|
||||||
bind := gomobileTool("bind", "-ldflags", "-s -w", "--target", "ios", "-v", "github.com/ethereum/go-ethereum/mobile")
|
bind := gomobileTool("bind", "-ldflags", "-s -w", "--target", "ios", "-v", "github.com/ethereum/go-ethereum/mobile")
|
||||||
|
Loading…
Reference in New Issue
Block a user