Hi all,
I have a game project which runs very fine in device in both debug and release mode. I have had two versions of it. Old version and new version with more (later i have added) features, and the bundle id, version for both are same. When I build older version, with no previously installed "myGame" app. It builds fine and runs fine and vice versa if I build new one first.
But the app crashes when I build new version one with old app already installed in ipod touch, and vice versa if I build old version with new app already installed. The console message looks like follows:
/* Old version installed first and build new version */
Running… gdb-arm-apple-darwin(3441) malloc: *** error for object 0x4601e0: incorrect checksum for freed object - object was probably modified after being freed. *** set a breakpoint in malloc_error_break to debug Error launching remote program: failed to get the task for process 6791. Error launching remote program: failed to get the task for process 6791. The program being debugged is not being run. The program being debugged is not being run. gdb-arm-apple-darwin(3441) malloc: *** error for object 0x42a7d0: incorrect checksum for freed object - object was probably modified after being freed. *** set a breakpoint in malloc_error_break to debug/* New version installed first in device then build old version */
Running… gdb-arm-apple-darwin(4195) malloc: *** error for object 0x45e710: incorrect checksum for freed object - object was probably modified after being freed. *** set a breakpoint in malloc_error_break to debug Error launching remote program: failed to get the task for process 7079. Error launching remote program: failed to get the task for process 7079. The program being debugged is not being run. The program being debugged is not being run.
I can also solve this issue by simply deleting the previously installed app from device. But I want to know the root cause of this crash and I am also afraid if I had my new version app in appStore, It would be very inconvenient to ask user to delete old version first to use new version.
So, please help me to get through this situation. Thanks to any any kind of information.
mysticBoy59
PS: I used the same old version of app and added the features to make new version. Doesn't new one supposed to replace old one easily? As we go on adding features and build and test !!