My app uses the location service. To test what is happening when the user presses \'Don\'t allow\' when the simulator asks for the permission to access the location service
Or you can choose simctl
to manage iOS simulator in Command Line.
$ xcrun simctl erase all
is too erase all content in all simulator.
For more information, you can read this blog from XCBlog: https://medium.com/xcblog/simctl-control-ios-simulators-from-command-line-78b9006a20dc
Apple says
To set the user content and settings of the simulator to their factory state and remove the applications you have installed, choose iPhone Simulator > Reset Content and Settings.
http://support.apple.com/kb/ht2110