Skip to content

I would like to build v2ray plug in for iOS #3171

Answered by hubeoo
YangCheng0121 asked this question in Q&A
Discussion options

You must be logged in to vote
CC=~/go/misc/ios/clangwrap.sh GOOS=ios GOARCH=arm64 CGO_ENABLED=1 
go build -buildmode=c-archive -o out/ios/ios/libnativeffi.a

If you don't use -buildmode=c-archive, Go won't automatically generate .h files for you

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by YangCheng0121
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants