From f9a95e9bbb4ed70dd6e1e25d65c46e37187f7730 Mon Sep 17 00:00:00 2001 From: Cory Benfield Date: Fri, 19 Jun 2020 10:19:47 +0100 Subject: [PATCH] Update watchOS availability. (#98) Motivation: In a patch where we added some metadata options, we accidentally set the availability wrong. This is a compile-time error, so we broke watchOS compilation. Modifications: Update the availability of some types on watchOS. Result: Users can build on watchOS again. --- Sources/NIOTransportServices/NIOTSChannelOptions.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/NIOTransportServices/NIOTSChannelOptions.swift b/Sources/NIOTransportServices/NIOTSChannelOptions.swift index a8cc462..777c5f3 100644 --- a/Sources/NIOTransportServices/NIOTSChannelOptions.swift +++ b/Sources/NIOTransportServices/NIOTSChannelOptions.swift @@ -81,7 +81,7 @@ extension NIOTSChannelOptions { /// `NIOTSMetadataOption` accesses the metadata for a given `NWProtocol`. /// /// This option is only valid with `NIOTSConnectionBootstrap`. - @available(OSX 10.14, iOS 12.0, tvOS 12.0, watchOS 5.0, *) + @available(OSX 10.14, iOS 12.0, tvOS 12.0, watchOS 6.0, *) public struct NIOTSMetadataOption: ChannelOption, Equatable { public typealias Value = NWProtocolMetadata