You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
2 years ago | |
|---|---|---|
| .. | ||
| readme.md | 2 years ago | |
readme.md
Build iOS xcframework
Install Rust build tools
- Install Xcode Command Line Tools:
xcode-select --install - Install Rust programming language:
curl https://sh.rustup.rs -sSf | sh - Install iOS target support:
rustup target add aarch64-apple-ios aarch64-apple-ios-sim x86_64-apple-ios - Install cbindgen tool:
cargo install cbindgen
Building iOS xcframework
Run the following command in zsh (or bash):
cd tun2proxy
./build-apple.sh
The script build-apple.sh will build the iOS/macOS xcframework and output it to ./tun2proxy.xcframework
To save the build time, you can use the build-aarch64-apple-ios-debug.sh or build-aarch64-apple-ios.sh script
to build the aarch64-apple-ios target only.