My iphone is attached to my computer and an app is running from xcode
I want to stop an app that is currently running on the iphone through xcode, using a command line command.
There is a cmd + . to do that in the xcode interface, but i want to write an automated script, and for that i need to make sure that xcode is not running anything before it starts executing.
What do i need to send to the command line or xcode app? to make it stop running whatever its running at the moment ?