File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
xcodeproj/internal/xcschemes Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ _XCSCHEMES = [
108
108
),
109
109
run = xcschemes .run (
110
110
build_targets = [
111
- xcschemes . top_level_build_target ( _TOOLS ["import_indexstores" ]) ,
111
+ _TOOLS ["import_indexstores" ],
112
112
],
113
113
diagnostics = _XCSCHEME_DIAGNOSTICS ,
114
114
launch_target = xcschemes .launch_target (
@@ -276,7 +276,7 @@ _XCSCHEMES = [
276
276
),
277
277
run = xcschemes .run (
278
278
build_targets = [
279
- xcschemes . top_level_build_target ( _TOOLS ["swiftc_stub" ]) ,
279
+ _TOOLS ["swiftc_stub" ],
280
280
],
281
281
diagnostics = _XCSCHEME_DIAGNOSTICS ,
282
282
launch_target = xcschemes .launch_target (
Original file line number Diff line number Diff line change 7
7
)
8
8
9
9
def _resolve_build_target_labels (build_target ):
10
+ if type (build_target ) == "string" :
11
+ return _resolve_label (build_target )
12
+
10
13
return struct (
11
14
extension_host = _resolve_label (build_target .extension_host ),
12
15
include = build_target .include ,
@@ -23,6 +26,7 @@ def _resolve_build_target_labels(build_target):
23
26
def _resolve_label (label_str ):
24
27
if not label_str :
25
28
return ""
29
+
26
30
return str (native .package_relative_label (label_str ))
27
31
28
32
def _resolve_labels (schemes ):
You can’t perform that action at this time.
0 commit comments