Demo for building and using go-tun2socks
on iOS and Android.
- macOS (iOS)
- Xcode (iOS)
- SDK (Android)
- NDK (Android)
- make
- Go >= 1.11
- A C compiler (e.g.: clang, gcc)
- gomobile (https://github.com/golang/go/wiki/Mobile)
- Other common utilities (e.g.: git)
go get -d ./...
# Build an AAR
make android
# Build a Framework
make ios
# Both
make