Browse Source

Set gomobile bind ios version to 10.0

Amir Khan 3 years ago
parent
commit
0a8b601e78
1 changed files with 1 additions and 0 deletions
  1. 1 0
      MobileLibrary/iOS/build-psiphon-framework.sh

+ 1 - 0
MobileLibrary/iOS/build-psiphon-framework.sh

@@ -84,6 +84,7 @@ function gomobile_build_for_platform() {
   # CGO_CFLAGS_ALLOW is to workaround https://github.com/golang/go/issues/23742 in Go 1.9.4
   CGO_CFLAGS_ALLOW="-fmodules|-fblocks" "${GOPATH}"/bin/gomobile bind -v -x \
   -target "${TARGETS}" \
+  -iosversion "10.0" \
   -prefix Go \
   -tags="${BUILD_TAGS}" \
   -ldflags="${LDFLAGS}" \