Skip to content

Commit 64f8161

Browse files
authored
Add swift_compiler_plugin sources to generated xcodeproj (#3142)
Addresses #3132 --------- Signed-off-by: Adin Cebic <cebic.ad@gmail.com>
1 parent f866731 commit 64f8161

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

xcodeproj/internal/incremental_xcodeprojinfos.bzl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,11 @@ def _make_non_skipped_target_xcodeprojinfo(
722722

723723
def _should_create_provider(*, bin_dir_path, rule_kind, target):
724724
if "-exec-" in bin_dir_path:
725-
# We don't want to include "tools" (exec configuration) targets
725+
# Allow swift_compiler_plugin even in exec configuration
726+
if rule_kind == "swift_compiler_plugin":
727+
return True
728+
729+
# We don't want to include other "tools" (exec configuration) targets
726730
return False
727731

728732
if rule_kind in _INTERNAL_RULE_KINDS:

0 commit comments

Comments
 (0)