This repository is deprecated and no longer maintained.
The xcframework is now built and released from dima-u/libXray-apple, which uses a purpose-built Apple-platform fork of Xray-core (dima-u/Xray-core-apple) — no outline-apps dependency required.
Use SwiftyXrayKit 2.0+ which depends on
libXray-appledirectly.
This project provides a Swift wrapper around the Xray core library to enable advanced networking capabilities on iOS and macOS platforms. It includes support for SOCKS5 proxying and integrates seamlessly with Apple's PacketTunnelProvider API.
See build.sh to build xcframwework from sources.
Inder the hood build script uses:
- outline app (https://github.com/Jigsaw-Code/outline-apps) as base for building Xray Core binary and tunnel provider module
- patch that enables socks5 in outline sdk
- libxray and xray-core mixin with single library
SwiftyXrayCore is released under the Apache 2.0 License. See the LICENSE file for details.