Re-enable iPhone Simulator location services
I have disabled location services on the simulator with the "Don't ask again" option set, thinking that I could re-enable it later, but now I can't find out how.
Can开发者_运维百科 someone point me out where to change this setting?
Thanks.
Solution: System Preferences > Security > (Button) Reset Warnings
You may need to click the lock in the bottom left side before you can click that button.
I did this and it worked: iOS Simulator > Reset Contents and Settings... That deleted the apps installed in the simulator but also the settings for the GPS, well, and everything else. I was able to reenable the gps after that.
This setting is available in Lion under System Settings ... | Security & Privacy | Privacy (tab). However, I still have a problem with location services in the simulator even though it is enabled ....
On iOS 12.2, I was able to find this by going to:
System Settings → General → Reset → Reset Location & Privacy`
精彩评论