I want to test out the contact authorization process, but the simulator doesn't ask me for permission anymore. I've tried resetting privacy settings, I've tried resetting the simulator completely, I've tried deleting the app, but no matter what, it never asks me for permission. It just assumes I've granted it.
I'm running iOS 6 simulator. There are a couple similar questions like this on SO, but surprisingly no decent answers. Is there really no way to do this?
Reset all privacy settings on iOS Go to Settings | General | Reset | Reset Location & Privacy. If prompted to confirm the settings change, enter your passcode to confirm. The device will reboot and clear out all databases that contain privacy permissions data for all apps currently installed on iOS-based devices.
You need to click on Simulator first. Hardware > Erase All Content and Settings. This will reset the simulator. Wait for a minute for the Simulator to rebuild.
For closing (not quit) the running application in Simulator the keyboard shortcut is "shift+command+h".
Starting with iOS 7, go to Settings, General, Reset and tap Reset Location & Privacy
The reset locations/privacy option ONLY works on a device. It doesn't work in the simulator.
Edit: This is no longer true, see laktak's answer.
These instructions are for Xcode 6.
Find the identifier of the simulator whose access settings you want to reset in Xcode's Devices window.
Delete ~/Library/Developer/CoreSimulator/Devices/<device>/data/Library/TCC/TCC.db
Relaunch the simulator. (Device > Restart in the simulator menu)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With