File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 22
33set -euox pipefail
44
5- GOPENPGP_VERSION=" passforios"
5+ GOPENPGP_VERSION=" v2.6.0- passforios"
66
77export GOPATH=" $( pwd) /go"
88export PATH=" $PATH :$GOPATH /bin"
@@ -14,20 +14,23 @@ GOPENPGP_PATH="$CHECKOUT_PATH/gopenpgp"
1414mkdir -p " $OUTPUT_PATH "
1515mkdir -p " $CHECKOUT_PATH "
1616
17- go install golang.org/x/mobile/cmd/gomobile@latest
18- gomobile init
19-
2017git clone --depth 1 --branch " $GOPENPGP_VERSION " https://github.com/mssun/gopenpgp.git " $GOPENPGP_PATH "
2118
2219pushd " $GOPENPGP_PATH "
2320mkdir -p dist
21+ go get golang.org/x/mobile/cmd/gomobile@latest
22+ go get golang.org/x/mobile/cmd/gobind@latest
23+ go build golang.org/x/mobile/cmd/gomobile
24+ go build golang.org/x/mobile/cmd/gobind
2425go mod download github.com/ProtonMail/go-crypto
25- gomobile bind -tags mobile -target ios -iosversion 12.0 -v -x -ldflags=" -s -w" -o dist/Gopenpgp.xcframework \
26+ gomobile init
27+ gomobile bind -tags mobile -target ios -iosversion 13.0 -v -x -ldflags=" -s -w" -o dist/Gopenpgp.xcframework \
2628 github.com/ProtonMail/gopenpgp/v2/crypto \
2729 github.com/ProtonMail/gopenpgp/v2/armor \
2830 github.com/ProtonMail/gopenpgp/v2/constants \
2931 github.com/ProtonMail/gopenpgp/v2/models \
30- github.com/ProtonMail/gopenpgp/v2/subtle github.com/ProtonMail/gopenpgp/v2/helper
32+ github.com/ProtonMail/gopenpgp/v2/subtle \
33+ github.com/ProtonMail/gopenpgp/v2/helper
3134popd
3235
3336cp -r " $GOPENPGP_PATH /dist/Gopenpgp.xcframework" " $OUTPUT_PATH "
You can’t perform that action at this time.
0 commit comments