I downloaded an app about PacketTunnelProvider from github, and changed the bundleid of the app. The program can run and the function is easy to use.
But when I deleted the target of the PacketTunnel and tried to create a new target of the PacketTunnel myself, I found that the code was not executed, and the bundleid ID was still used, which was applied from the developer center.
I use xcode 13.2.1. I want to ask you to tell me why the new target is difficult to use, but the original one is. I guarantee that the bundleid is available.
I've tried many times, but I can't realize it. What configurations are missing
But when I deleted the target of the PacketTunnel and tried to create a new target of the PacketTunnel myself, I found that the code was not executed
OK. Given that you have a working and a non-working case, I recommend that you compare the two to see what’s different. Focus on:
-
The
Info.plist
properties -
The entitlements
-
The name of your primary packet tunnel provider subclass
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"