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
Add missing availability annotations to fix iOS, watchOS, and tvOS builds (#233)
### 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.
0 commit comments