Skip to content

Conversation

@davbeck
Copy link

@davbeck davbeck commented Dec 11, 2025

This PR enables all Apple bundle rules (ios_framework, ios_application, macos_application, etc.) to propagate output groups from their dependencies, particularly Swift-related output groups from swift_library targets. This is to support work I did in bazelbuild/rules_swift#1628 to output diagnostic files.

Previously, output groups like swift_index_store were only available directly on swift_library targets. This made it difficult to collect supplemental compilation outputs (diagnostics, indexstore, AST files, etc.) when Swift code was built as part of a framework or application bundle.

Full disclosure: most of these changes were made using Cursor and only verified on 1 project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant