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.

+4


source to share


3 answers


If you want to run your application from Xcode without launching the debugger, I would disable the "Debug executable" option in the Xcode schema :

enter image description here




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).

+3


source


xcode 6.3.1 enter image description here



deselect debug, then you can run without debugging.

+5


source


Just build and run, and as soon as it launches press and open the app manually. This will be the app you created but did not connect.

+4


source







All Articles