How is my app, written in Cocos2d 1.1 and Objective C (initially for iOS3) still functioning correctly including the IAP.

I sold the code years ago, and transferred the app. On a whim I found it again.

It is still running 100% perfectly with no updates from the initial build.

(It literally cant be updated now, unless you are going to rewrite it from scratch)


I am just curious how this app can still be running perfectly after so much time.

It has ancient code with a completely out of date unusable IAP setup, yet it all still works on iOS 12 and the newest iPhones / iPads.

Accepted Answer

I'm not specialist of objC, so take this comment with caution.

AFAIK, ObjC binary interface (ABI) is stable from a long time, even though API has changed. That's why you could not recompile but still run executable.

Swift has been working to achieve ABI stability from a long time, targetting to get it with Swift 5.


Read here

https://stackoverflow.com/questions/11693436/objective-c-stable-abi

Thanks that was interesting and helpful. Learned something new.

How is my app, written in Cocos2d 1.1 and Objective C (initially for iOS3) still functioning correctly including the IAP.
 
 
Q