diff --git a/c_wrapper/gen_ios_dylib.sh b/c_wrapper/gen_ios_dylib.sh new file mode 100644 index 0000000..338cfe0 --- /dev/null +++ b/c_wrapper/gen_ios_dylib.sh @@ -0,0 +1,8 @@ +export GOOS=darwin +export GOARCH=arm64 +export CGO_ENABLED=1 +export CC=clang + +go build -buildmode=c-shared -o libopenimsdk.dylib export.go constant.go protocol.go tools.go +``` +