IPhone testing: how do I get a clean install?

When testing the iPhone application that I am developing, there are some steps that I can take to cause an error that, for example, will cause the application to crash when loading or at some other point, even if I had to kill the application and load him again.

I would suggest that to reset this internal inconsistency of the failing state, I can simply reinstall the application. However, the problem will persist after reinstallation and can only be resolved by installing a newer assembly.

I can only assume that some application data is saved and reused, even if it is deleted and reinstalled (from the IPA).

Is there any way to prevent this? For instance. something like a "clean install"?

Edit: if I reinstall and restart my phone, the problem will be resolved. Does this indicate any problems with the application code in particular?

+5
source share
2 answers

Depending on the source of your persistent data, you can always go to the root folder of iPhone Simulator and delete application data there. Thus, you do not need to delete everything from your simulator.

The folder is hidden, so you may need to show your folders to see it.

/ Users / yourName / Library / Application Support / iPhone Simulator

The next time you run the application, it will be a clean install.

+2
source

iOS Simulator, :

1) ( , , )

2) "iOS Simulator" .

3) "Reset" ... "( : iOS Simulator, , ).

4) iOS Simulator, .

+4

All Articles