diff --git a/build.sh b/build.sh
index 06bf303c938a0800f0dca80b74f46fefcf88a5d1..f020c4de52b4b4f0b89100e988338879c279487c 100755
--- a/build.sh
+++ b/build.sh
@@ -54,6 +54,6 @@ cd IPtProxy.go || exit 1
 
 gomobile init
 
-gomobile bind -target=$TARGET -o ../$OUTPUT -iosversion 11.0 -androidapi 19 -v
+MACOSX_DEPLOYMENT_TARGET=11.0 gomobile bind -target=$TARGET -o ../$OUTPUT -iosversion 11.0 -androidapi 19 -v
 
 printf '\n\n--- Done.\n\n'