MobileNativeFoundation / rules_xcodeproj

Bazel rules for generating Xcode projects.
MIT License
505 stars 77 forks source link

Stop including test hosts in schemes when `adjust_schemes_for_swiftui_previews = True` #2991

Closed brentleyjones closed 3 months ago

brentleyjones commented 3 months ago

Fixes #2990.

Including the test host can break some people’s workflows (e.g. a test host that is set to only compile for a certain target environment). Also, the test host is implicitly included in the scheme at the right action.

Other transitive dependencies are still built in the wrong action. In a future change we need to have test-based targets have their transitive dependencies listed under the test action, not run.