1. Code=1 "Missing protocol or protocol has invalid type" wireguard
2. Error saving tunnel after re-enabling: Error Domain=NEVPNErrorDomain Code=1 "Missing protocol or protocol has invalid type"
Im giving these paramters when create a tunnel from scratch
Name, Pri-Pub auto generated, Addresses, Listen Port, In Add Peer section => Public Key and save the tunnel
P.S. I created tunnel with same configs on wireguard application that was downloaded from app store. But the same version is giving error in xcode
So you’re building the whole app from source, including the embedded NE provider? If so, you must have had to change the bundle IDs because both the app and the NE provider use entitlements that must be allowlisted by your provisioning profile, and your provisioning profile is tied to your App ID, and App IDs are team specific. Given that, the problem is most likely related to that bundle ID change. Look over that change and make sure that:I have been testing app in xcode cloned from github.
You got all instances of both bundle IDs, including those used in code (like providerBundleIdentifier).
The NE provider bundle ID is a ‘child’ of the app bundle ID.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"