mirror of
https://github.com/apple/swift-certificates
synced 2026-11-24 04:27:49 +00:00
### Motivation Currently this package doesn't build for the non-macOS Apple platforms. For example, compiling for iOS fails with: - `error: 'some' return types are only available in iOS 13.0.0 or newer` - `error: Concurrency is only available in iOS 13.0.0 or newer` Looks like a few types were missing the availability annotations when this package switched to using them and dropping the minimum platform requirement. ### Modifications - Add missing annotations to restore build. ### Results - Package now builds on iOS, tvOS, and watchOS. - `struct NameConstraints`, `struct NameConstraintsValue` are marked only available on iOS 13+ etc. - `protocol OCSPRequester` is marked only available on iOS 13+ etc.