From 0d1f06b16c56a4877b325e503bd17187539e4253 Mon Sep 17 00:00:00 2001 From: Mingshen Sun Date: Thu, 16 Mar 2023 21:01:44 -0700 Subject: [PATCH] Fix gomobile path issue --- scripts/gopenpgp_build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/gopenpgp_build.sh b/scripts/gopenpgp_build.sh index 1446a70..7ed9c8f 100755 --- a/scripts/gopenpgp_build.sh +++ b/scripts/gopenpgp_build.sh @@ -23,8 +23,8 @@ go get golang.org/x/mobile/cmd/gobind@latest go build golang.org/x/mobile/cmd/gomobile go build golang.org/x/mobile/cmd/gobind go mod download github.com/ProtonMail/go-crypto -gomobile init -gomobile bind -tags mobile -target ios -iosversion 13.0 -v -x -ldflags="-s -w" -o dist/Gopenpgp.xcframework \ +./gomobile init +./gomobile bind -tags mobile -target ios -iosversion 13.0 -v -x -ldflags="-s -w" -o dist/Gopenpgp.xcframework \ github.com/ProtonMail/gopenpgp/v2/crypto \ github.com/ProtonMail/gopenpgp/v2/armor \ github.com/ProtonMail/gopenpgp/v2/constants \