Hello! There are fully operated iOS Network Extension written with NEPacketTunnelProvider. It's working on iOS device. From previous discussion on this forum got some info abpit similarity for iOS and MacOS. If it's working for iOS, is there something to change in code or just supy with MacOS provisiosnoing profile instead of iOS?
It depends on whether you want to package the provider as an appex or a sysex. See TN3134 Network Extension provider deployment.
If you use an appex, you won’t need many, perhaps not even any, code changes. You will need a new target (or its equivalent, if you’re not using Xcode) and slightly tweaked entitlements.
If you use a sysex then there will be substantial code changes. The core provider code should move across just fine but, at a minimum, you’ll need to add a main function that bootstraps the sysex. The other thing that often causes problems in sharing state between the sysex and its container app. With an appex you can use an app group for that, but that won’t work for a sysex.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"