Not sure about iprofiler
, but you can use instruments
to profile from command line and target different hardware devices.
For instance, if you want to profile for leaks use the "Leaks" template like so:
instruments -t "Leaks" -w your_device_uuid YourAppName.app
To see all available templates and device uuid's run:
instruments -s
More info on this man page