From d9a3cf48827b59b0f4e152f93378d9eba18a16d7 Mon Sep 17 00:00:00 2001 From: Mingshen Sun Date: Sat, 8 Jun 2019 14:48:45 -0700 Subject: [PATCH] Temporary workaround for exporting issue. Caused by https://github.com/golang/go/issues/28997 --- gopenpgp_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gopenpgp_build.sh b/gopenpgp_build.sh index 4f76593..59f3cf8 100755 --- a/gopenpgp_build.sh +++ b/gopenpgp_build.sh @@ -25,7 +25,7 @@ cd $GOPATH export PATH=$PATH:$GOPATH/bin mkdir dist -$GOPATH/bin/gomobile bind -target ios -o dist/Gopenpgpwrapper.framework gopenpgpwrapper +$GOPATH/bin/gomobile bind -v -ldflags="-s -w" -target ios -o dist/Gopenpgpwrapper.framework gopenpgpwrapper export GOPATH=$OLDGOPATH export PATH=$OLDPATH