Reset NSUserDefaults / SharedPreferences


Is there a way to clear NSUserDefaults / SharedPreferences?
I know that you can call resetApp() but that restarts the simulator itself (at least on iOS) and that takes a long time.

I am more interested in closing the application and clearing the NSUserDefaults / SharedPreferences before each test in order to make them run faster rather than calling resetApp()

Thank you.

For anyone else still looking for a solution to this, I posted a solution as an answer to this question: