network_ios: network related commands for ios_system
ios_system is a replacement for
system() that is compatible with AppStore rules and the iOS programming API. Commands are provided as dynamic libraries and loaded as they are required by the user.
ios_system itself contains basic commands, operating on files (ls, mv, rm, tar, curl, grep...) More advanced commands are provided separately.
network_ios is one of these extensions. To use it, just compile it and add it to the list of embedded libraries in your app (on top of all the libraries generated by ios_system, of course). There is no change to make to ios_system: if the
libnetwork_ios.dylib is present, it will execute the commands. Otherwise, it won't (but that's hardly surprising).
Commands available in this package:
- nc (netcat)
If you run them inside OpenTerm, the interactive versions work. I can't speak for other applications.
How to compile:
./compile_network_ios.sh: this will create the binary framework
network_ios.xcframework, which you can use in any Xcode project.
How to link:
Add this project as a Swift package dependency to your Xcode project, then embed the
You may find interesting
Release of network_ios as an xcframework - 2020-07-07 20:38:06
XCFrameworks contain both iOS (arm) code and iOS simulator (x86) code, making them easier for package maintainers.
First release of network_ios - 2018-02-15 09:20:53
Binary release for easy inclusion in sideloading projects Commands included:
- nc (netcat)
- telnet nslookup and telnet are interactive if you're using the latest version of OpenTerm source code.