You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix issues building when using Xcode Command Line Tools (no XCTest.) (#316)
This PR removes some stray dependencies on XCTest that prevent building
the testing library and its test target when XCTest is not available on
Darwin. This can occur if the Xcode Command Line Tools are installed
instead of the full IDE.
Automated testing for this change is difficult because it relies on a
build environment that is not supported in CI (namely the presence of
the CL tools but not Xcode nor XCTest.framework.) I have manually tested
the change against swift-testing's own test target.
For more information about this change, see
swiftlang/swift-package-manager#7426. That PR
affects the Swift main-branch toolchain (Swift 6), not Swift 5.10 or
earlier.
Resolves rdar://125371899.
### Checklist:
- [x] Code and documentation should follow the style of the [Style
Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md).
- [x] If public symbols are renamed or modified, DocC references should
be updated.
0 commit comments