Hi,
I have developed an application (a Sudoku to be accurate) that runs perfectly smoothly on the iPhone (after of course several minor versions to do some bug fixing).
But I have had several reports of issues on iPod Touch exclusively.
The normal modus operandi is the following:
- the first start does not load anything from file
- the app exits, and saves to a file the current game and the scores
- on the next launch, the app loads from the file the current game and the scores
On some (maybe all, I don't know I can't test, I don't own an iPod Touch), here is what happens : - first launch is fine - play, save, replay, have fun - quit - next launch: crash during launch
So either the file saved is corrupted on iPod Touches only, either the loading crashes on iPod Touches only.
Do you guys know about differences between iPhone and iPod Touch that could give me a lead on how to investigate? I'm at lost here :)
The saving is done by encoding objects and archiving them with a NSKeyedArchiver and then writing them to file. The loading is of course done by unarchiving the file and decoding the objects in it.
I'm not putting any code for now because it's quite long and I can't figure out which part would be more meaningful than another. But if you guys have any leads I'll edit and post the corresponding code.
Thanks for your help!