I've been trying to connect to the onion network via iOS for quite a few months by creating a native binding library for the objective-c (GitHub) iCepa/Tor.framework used by many iOS apps (like Onion Browser, Blockstream Green, or Casa). The fat binary compiles, I've been able to construct a binding using sharpie, and even and run into my test project, but the
TORController doesn't to write a cookie to the specified DataDir for success test and just hangs with no response from the library for the fail test. The tests I wrote are translated from the Tor.framework's only tests
(GitHub /iCepa/Tor.framework/master/Tests/TORControllerTests.m) written in objective-c.
Both the binding and tests source can be found here: GitHub /DanGould/Xamarin.iOS.Tor
Any help would be greatly appreciated. I've tried changing the bindings, ensuring my directories are set right and I don't know at all how to proceed.