build: modify the iOS namespace to iGeth (gomobile limitation)

This commit is contained in:
Péter Szilágyi 2016-12-06 14:38:32 +02:00
parent 3fc7c97827
commit e4eea88c6c
No known key found for this signature in database
GPG key ID: 119A76381CCB7DD2

View file

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