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.
simctl
$ xcrun simctl erase all is too erase all content in all simulator.
$ xcrun simctl erase all
For more information, you can read this blog from XCBlog: https://medium.com/xcblog/simctl-control-ios-simulators-from-command-line-78b9006a20dc