Add watchOS deployment to PodSpec build script (#110)

Motivation:

We support watchOS 6+ with SwiftNIO Transport Services; as such we should
include watchOS as a deployment target for our CocoaPods.

Modifications:

- Add a watchOS deployment target to `build_podspecs.sh`

Result:

Users can deploy to watchOS 6+ with CocoaPods.
This commit is contained in:
George Barnett 2020-10-21 15:27:58 +01:00 committed by GitHub
parent 5258afd617
commit e8d4442cf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,6 +77,7 @@ Pod::Spec.new do |s|
s.ios.deployment_target = '10.0'
s.osx.deployment_target = '10.12'
s.tvos.deployment_target = '10.0'
s.watchos.deployment_target = '6.0'
s.dependency 'SwiftNIO', '>= $nio_version', '< $next_major_version'