I've implemented a VPN for macOS/iOS using Packet Tunnel Provider.
When the users try to create the VPN, they get the message from the OS asking if they are allowing to install the VPN.
In addition to that, I'm asking the users to authorize local notifications.
Now I want to debug a certain flow at my app, and I want to be displayed again with the "allow vpn/notification" msgs.
Is there a way to cause the OS to ask me those questions again?
Be it via code, or via the OS (I tried searching it in Security & Privacy, but found nothing relevant)
On iOS there’s an easy option: Just delete the app from the device. On macOS I’m not so sure. I do all my macOS testing on a VM, so I can restore to a clean slate by rolling back to a snapshot, so I’ve never had to dig into this.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"