swiftlang / swiftlang/swift-testing
Cannot enable C++ interop (deployment target too low)
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 2.2k
- Forks
- 169
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 56
Description
We cannot enable C++ interop in the package because it is only available as of macOS 13 (and aligned Apple releases.) Attempting to build produces this error diagnostic:
🛑 Compiling for macOS 10.15, but module 'CxxStdlib' has a minimum deployment target of macOS 13.0: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/CxxStdlib.swiftmodule/arm64-apple-macos.swiftmodule
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the package build that emits the reported CxxStdlib deployment-target diagnostic, then inspect the package's deployment-target configuration. Done should be defined by a successful build with C++ interop enabled on the supported Apple deployment targets.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100