Fix gomobile path issue

This commit is contained in:
Mingshen Sun 2023-03-16 21:01:44 -07:00
parent 51330c3fe4
commit 0d1f06b16c

View file

@ -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/gomobile
go build golang.org/x/mobile/cmd/gobind go build golang.org/x/mobile/cmd/gobind
go mod download github.com/ProtonMail/go-crypto go mod download github.com/ProtonMail/go-crypto
gomobile init ./gomobile init
gomobile bind -tags mobile -target ios -iosversion 13.0 -v -x -ldflags="-s -w" -o dist/Gopenpgp.xcframework \ ./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/crypto \
github.com/ProtonMail/gopenpgp/v2/armor \ github.com/ProtonMail/gopenpgp/v2/armor \
github.com/ProtonMail/gopenpgp/v2/constants \ github.com/ProtonMail/gopenpgp/v2/constants \