Skip to content

Speed Up Xcode Launches by Disabling Debug Executable

A hidden Xcode scheme setting that can significantly reduce app launch times during development.

The Blank Screen Problem

If you have ever noticed a delay – sometimes several seconds – between pressing Run in Xcode and your app actually appearing, the culprit is often the LLDB debugger attaching to your process. During this time, the Simulator shows a blank screen while the debugger initializes.

Comparison of launch times with and without debug executable enabled

Where to Find the Setting

The setting lives in your scheme configuration:

  1. Go to Product > Scheme > Edit Scheme (or press Cmd+Shift+<)

  2. Select the Run action on the left

  3. Switch to the Info tab

  4. Uncheck Debug executable

The setting before the change

The setting after unchecking Debug executable

What This Does

When “Debug executable” is enabled (the default), Xcode attaches the LLDB debugger to your app process at launch. This is what enables breakpoints, the debug memory graph, view hierarchy debugger, and po commands in the console.

Disabling it skips the debugger attachment entirely. Your app launches noticeably faster – in my experience, the difference can be 2 to 5 seconds on larger projects. Console output via print() and os_log still works normally, so you can still use logging for debugging.

The Trade-Off

Without the debugger attached, you lose:

  • Breakpoints (they will not trigger)

  • po and expression commands in the console

  • Memory graph and view hierarchy debugging tools

This makes the setting ideal for UI iteration work, where you are making visual tweaks and re-running frequently. When you need to investigate a specific bug with breakpoints, just re-enable the checkbox temporarily. I keep it off most of the time and only toggle it on when I need to step through code.

Found this helpful? Follow me on Bluesky and Mastodon for more Swift tips and indie dev updates.