Xcodegen: Ability to disable debugging in Scheme run phase

Created on 8 Jan 2019  路  3Comments  路  Source: yonaskolb/XcodeGen

Hi, I'm using custom schemes for my different configs. There is one catch thought, I have a Production scheme that is not debuggable as per it's configuration. When I press the run button in Xcode the app won't launch unless I uncheck the debug box. Is there a way to uncheck this from the scheme definition ?
screenshot

enhancement

Most helpful comment

That would be very convenient indeed !

All 3 comments

Hmm, no this isn鈥檛 possible at the moment

Looks like it would require this change:

<LaunchAction
    buildConfiguration = "Debug"
-    selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
-    selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+    selectedDebuggerIdentifier = ""
+    selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"

That's doable

That would be very convenient indeed !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TheInkedEngineer picture TheInkedEngineer  路  4Comments

samedson picture samedson  路  5Comments

yonaskolb picture yonaskolb  路  3Comments

djbe picture djbe  路  6Comments

vlozko picture vlozko  路  4Comments