I'm developing an IOS App, and I'm currently working on archiving the data with NSCoder, but I had initially saved the wrong data type to a variable, and now its causing my application to crash, I have fixed the problem that was saving the wrong data, but I now need to delete that corrupted save data.
Asked
Active
Viewed 832 times
-1
-
Have you tried deleting the app from the device and re-installing it? All of the app's files are contained in its package. – Daniel T. Nov 29 '14 at 17:56
-
I should clarify this is all on the simulator, but ill try deleting it off the simulator – austinphilp Nov 29 '14 at 18:15
-
that worked! thank you, If you repost as an answer I'll click it as correct – austinphilp Nov 29 '14 at 18:16
1 Answers
1
All data is stored inside the app package. Try deleting the app and re-installing it.

Daniel T.
- 32,821
- 6
- 50
- 72
-
In this case it's stored in the App Sandbox, not the app package. Data and resources built and added to an app at compile time are added to the app __bundle__, but data saved at runtime is added to the app __sandbox__ – Abizern Nov 30 '14 at 19:40
-
Hmm... It is my understanding that the .app folder is called a package. I could be wrong, but regardless, the data is stored in it. – Daniel T. Nov 30 '14 at 20:15