swift-argument-parser
swift-argument-parser copied to clipboard
AsyncParsableCommand & AsyncMainProtocol: Concurrency is only available in macOS 12.0.0 or newer
Xcode 13.1 on macOS 11.6.7 throws the compiler error "Concurrency is only available in macOS 12.0.0 or newer" since AsyncParsableCommand
and AsyncMainProtocol
are only marked with @available(macOS 10.15)
.
This should be changed to @available(macOS 12.0)
.
ArgumentParser version: 1.1.3
Swift version: swift-driver version: 1.26.9 Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6)
Checklist
- [x] If possible, I've reproduced the issue using the
main
branch of this package - [x] I've searched for existing GitHub issues
Steps to Reproduce
Include latest version of ArgumentParser as dependency in command line project and build with Xcode 13.1 on macOS 11.6.7.
Expected behavior
ArgumentParser should build without errors on macOS 11.6.7.
Actual behavior
ArgumentParser can't be built on macOS 11.6.7.