@@ -85,6 +85,7 @@ public extension XCScheme {
8585 public var customLaunchCommand : String ?
8686 public var customLLDBInitFile : String ?
8787 public var appClipInvocationURLString : String ?
88+ public var debugAsWhichUser : String ?
8889
8990 // MARK: - Init
9091
@@ -128,7 +129,8 @@ public extension XCScheme {
128129 storeKitConfigurationFileReference: StoreKitConfigurationFileReference ? = nil ,
129130 customLaunchCommand: String ? = nil ,
130131 customLLDBInitFile: String ? = nil ,
131- appClipInvocationURLString: String ? = nil ) {
132+ appClipInvocationURLString: String ? = nil ,
133+ debugAsWhichUser: String ? = nil ) {
132134 self . runnable = runnable
133135 self . macroExpansion = macroExpansion
134136 self . buildConfiguration = buildConfiguration
@@ -168,6 +170,7 @@ public extension XCScheme {
168170 self . customLaunchCommand = customLaunchCommand
169171 self . customLLDBInitFile = customLLDBInitFile
170172 self . appClipInvocationURLString = appClipInvocationURLString
173+ self . debugAsWhichUser = debugAsWhichUser
171174 super. init ( preActions, postActions)
172175 }
173176
@@ -214,7 +217,8 @@ public extension XCScheme {
214217 storeKitConfigurationFileReference: StoreKitConfigurationFileReference ? = nil ,
215218 customLaunchCommand: String ? = nil ,
216219 customLLDBInitFile: String ? = nil ,
217- appClipInvocationURLString: String ? = nil
220+ appClipInvocationURLString: String ? = nil ,
221+ debugAsWhichUser: String ? = nil
218222 ) {
219223 self . init (
220224 runnable: pathRunnable,
@@ -257,7 +261,8 @@ public extension XCScheme {
257261 storeKitConfigurationFileReference: storeKitConfigurationFileReference,
258262 customLaunchCommand: customLaunchCommand,
259263 customLLDBInitFile: customLLDBInitFile,
260- appClipInvocationURLString: appClipInvocationURLString
264+ appClipInvocationURLString: appClipInvocationURLString,
265+ debugAsWhichUser: debugAsWhichUser
261266 )
262267 }
263268
@@ -344,6 +349,7 @@ public extension XCScheme {
344349 }
345350
346351 appClipInvocationURLString = element. attributes [ " appClipInvocationURLString " ]
352+ debugAsWhichUser = element. attributes [ " debugAsWhichUser " ]
347353
348354 try super. init ( element: element)
349355 }
@@ -414,6 +420,9 @@ public extension XCScheme {
414420 if let appClipInvocationURLString {
415421 attributes [ " appClipInvocationURLString " ] = appClipInvocationURLString
416422 }
423+ if let debugAsWhichUser {
424+ attributes [ " debugAsWhichUser " ] = debugAsWhichUser
425+ }
417426
418427 return attributes
419428 }
@@ -524,7 +533,8 @@ public extension XCScheme {
524533 storeKitConfigurationFileReference == rhs. storeKitConfigurationFileReference &&
525534 customLaunchCommand == rhs. customLaunchCommand &&
526535 customLLDBInitFile == rhs. customLLDBInitFile &&
527- appClipInvocationURLString == rhs. appClipInvocationURLString
536+ appClipInvocationURLString == rhs. appClipInvocationURLString &&
537+ debugAsWhichUser == rhs. debugAsWhichUser
528538 }
529539 }
530540}
0 commit comments