I am nearing the completion of my application and trying to use tools to fix memory leaks.
Why can I detect a memory leak when using the tools and my device, but not when I use the iPhone simulator? I understand that this is a high-level question, but I do not think that publishing any code will help in any case (quite a bit of code ...).
And is it possible to force the tools to point to the source code, where it finds the leak? I can do this when using the simulator, but it seems that it does not work when using it for the device (objects are presented at the address (I assume) when running it for the simulator, which sees which object it represents, problems with the setup?)
Thanks in advance!
Regards, Niklas
Update: Could this have anything to do with OSX having automatic garbage collection, but iOS doesn't work?
source
share