So Apple mentions in their app submission guidelines that if an app leaks memory it will be rejected. My question is, how exactly does Apple detect memory leaks?
Obviously if the app crashes then it could be a sign of a major memory leak, but what about for apps that use small amounts of memory (hence wouldn’t necessarily crash if leaking memory)
I would assume they run an
InstrumentsLeakstest, just as you can. It is very useful, especially combined with theAnalyzetool inXcode.