Can I launch an iPhone app from Xcode without debugging it?
Is it possible for Xcode to automatically launch the app on my iOS device from Xcode 4.6 without tying its debugger to the app? I am working on an automatic build system, so manually launching the application is not an option.
I found Run Without Building under Product -> Perform Action but still attaches the debugger. I can change the schema to make Xcode do as long as the app is manually started before attaching the debugger, but this is basically the opposite of what I want.
source to share
If you want to run your application from Xcode without launching the debugger, I would disable the "Debug executable" option in the Xcode schema :
If you want to start the application manually, you can:
- Select your device from the "Scheme" drop-down list;
- Build an app (don't run);
- Open the organizer and go to the "devices" tab;
- Drag your app from the Products folder in the main navigator of the Xcode project to the device in the organizer window and it will be installed; and
- You can launch the app manually from your device at this point.
This process can be helpful in diagnosing startup performance and you want to run your application on a device completely separate from Xcode (and a debugger if you have a debug build).
source to share