From b6efd3f0ebb94dd65ce6a85915155b2ee2e00fec Mon Sep 17 00:00:00 2001 From: George Barnett Date: Mon, 19 Oct 2020 10:08:17 +0100 Subject: [PATCH] Add watchOS deployment to PodSpec build script (#251) 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. --- scripts/build_podspec.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build_podspec.sh b/scripts/build_podspec.sh index 5c4ac34..a1314be 100755 --- a/scripts/build_podspec.sh +++ b/scripts/build_podspec.sh @@ -107,6 +107,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.source_files = 'Sources/${target#Swift}/**/*.{swift,c,h}' ${dependencies[*]-}