Cabled, or once you check Connect via network, through WiFi. Please remember that your app will run for a limited period (currently 7 days). After that you will need to re-install it with Xcode. And to run apps with some specific features (push notification, for example), you need a paid developer account.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: