Thin Swift wrapper around Tor that has a new system for building a universal XCFramework for use with MacOSX, Mac Catalyst, iOS devices, and the iOS simulator across Intel and Apple Silicon (ARM).
For higher-level functions, see BCSwiftTor.
$ brew install autoconf autogen gsed
$ git clone https://github.com/blockchaincommons/BCSwiftTorBase.git
$ cd BCSwiftTorBase
$ ./build.sh
The resulting framework is build/TorBase.xcframework
. Add to your project.