Reputation: 10788
Is it possible to have Xcode automatically launch an app on my iOS device from Xcode 4.6 without attaching its debugger to the app? I'm working on an automated build system, so manually launching the app is not an option.
I've found Run Without Building under the Product -> Perform Action menu, but that still attaches the debugger. I can edit the scheme to make Xcode wait until the app is launched manually before attaching the debugger, but that's basically the opposite of what I want.
Upvotes: 16
Views: 13389
Reputation: 1895
I think you should delete the "Breakpoints" file first from git and after that add it to your ".gitignore" file
this file contains of your breakpoints:
Breakpoints_v2.xcbkptlist
it is in your project .xcworkspace file
your automated action no longer check it.
Upvotes: 0
Reputation: 437392
If you want to launch an app from Xcode without launching the debugger, I would uncheck the “Debug executable” option in the Xcode scheme:
If you want to launch an app manually, you can:
This process can be useful when diagnosing startup performance and you want to run the app on the device completely separate from Xcode (and the debugger, if you have a debug build).
Upvotes: 28
Reputation: 41775
xcode 6.3.1
unselect the debug execute, then you could run without debugging.
Upvotes: 7
Reputation: 5552
Just Build and run and once it launches press stop and open the app manually. It will then be the app you built but not connected.
Upvotes: 8