This came up in another thread and I wanted to expand a bit on roee84’s correct answer.
The iOS Simulator is not an emulator. It’s a coordinated group of processes running natively on macOS. This means it uses the macOS kernel for its networking, which makes it infeasible to run iOS network extension providers.
In contrast, if you had a macOS provider installed, processes running in the simulator would use that (-:
Unless this architecture changes, you will not be able to test iOS NE providers in the simulator.
If you’re building an NE provider and don’t have ready access to an iOS device to test on, consider creating a macOS version of your app. This doesn’t have to be a real product, just enough to load your provider. The vast bulk of NE provider code can be shared between iOS and macOS, and it works largely the same on both platforms.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"