build: gomobile automaticall adds the ios tag, don't duplicate

This commit is contained in:
Péter Szilágyi 2019-08-22 14:16:48 +03:00
parent 46ec63b849
commit 4ef5e9746b
No known key found for this signature in database
GPG Key ID: E9AE538CEDF8293D

View File

@ -900,7 +900,7 @@ func doXCodeFramework(cmdline []string) {
// Build the iOS XCode framework
build.MustRun(goTool("get", "golang.org/x/mobile/cmd/gomobile", "golang.org/x/mobile/cmd/gobind"))
build.MustRun(gomobileTool("init"))
bind := gomobileTool("bind", "-ldflags", "-s -w", "--target", "ios", "--tags", "ios", "-v", "github.com/ethereum/go-ethereum/mobile")
bind := gomobileTool("bind", "-ldflags", "-s -w", "--target", "ios", "-v", "github.com/ethereum/go-ethereum/mobile")
if *local {
// If we're building locally, use the build folder and stop afterwards