From e8f91523321b5aed82027e26177bbbb9b976df12 Mon Sep 17 00:00:00 2001 From: Denys Telezhkin Date: Wed, 29 Jul 2015 21:16:30 +0300 Subject: [PATCH] support Watch OS in Core podspec --- EasyMapping.podspec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/EasyMapping.podspec b/EasyMapping.podspec index dbbc6e1..070b77f 100644 --- a/EasyMapping.podspec +++ b/EasyMapping.podspec @@ -16,14 +16,18 @@ Pod::Spec.new do |s| s.ios.deployment_target = '5.0' s.osx.deployment_target = '10.7' - s.watchos.deployment_target = '2.0' s.subspec 'Core' do |core| + core.watchos.deployment_target = '2.0' + core.ios.deployment_target = '5.0' + core.osx.deployment_target = '10.7' core.frameworks = 'CoreData' core.source_files = 'EasyMapping/*.{h,m}' end s.subspec 'XCTest' do |xctest| + xctest.ios.deployment_target = '5.0' + xctest.osx.deployment_target = '10.7' xctest.dependency 'EasyMapping/Core' xctest.frameworks = 'XCTest' xctest.source_files = 'XCTest+EasyMapping/*.{h,m}'