views:

30

answers:

3

I have an application that needs to be unplugged from the computer to use (it is interfacing with a device through the port) so I don't think using Instruments will work. Is there any way to monitor memory allocations/leaks without the iPhone being attached to the computer? Thanks.

A: 

You could use a jailbroken iOS device and analyze the app with the command line tool leaks. But that's not really a sweet solution.

V1ru8
A: 

Have you tried using Build and Analyze within Xcode? That will likely show many of your leaks without even needing to run the application.

pkananen
+4  A: 

You should be able to use Instruments via WiFi instead of USB. See here. I never tried it, but it's a supported feature.

pgb
Great, this is exactly what I need. Thanks!
Ned