How to reset iPhone simulator

前端 未结 8 1322
挽巷
挽巷 2020-12-01 07:21

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

相关标签:
8条回答
  • 2020-12-01 07:53

    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

    0 讨论(0)
  • 2020-12-01 07:58

    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

    0 讨论(0)
提交回复
热议问题