From 614ff58be5016657bfa3a2ca2c2cb9c1f6026074 Mon Sep 17 00:00:00 2001 From: Hilton Campbell Date: Sat, 17 Oct 2015 10:00:48 -0600 Subject: [PATCH] Enable support for tvOS. --- GCDWebServer.podspec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/GCDWebServer.podspec b/GCDWebServer.podspec index c512a8c..5e075c5 100644 --- a/GCDWebServer.podspec +++ b/GCDWebServer.podspec @@ -15,6 +15,7 @@ Pod::Spec.new do |s| s.source = { :git => 'https://github.com/swisspol/GCDWebServer.git', :tag => s.version.to_s } s.ios.deployment_target = '5.0' + s.tvos.deployment_target = '9.0' s.osx.deployment_target = '10.7' s.requires_arc = true @@ -26,6 +27,8 @@ Pod::Spec.new do |s| cs.requires_arc = true cs.ios.library = 'z' cs.ios.frameworks = 'MobileCoreServices', 'CFNetwork' + cs.tvos.library = 'z' + cs.tvos.frameworks = 'MobileCoreServices', 'CFNetwork' cs.osx.library = 'z' cs.osx.framework = 'SystemConfiguration' end @@ -35,6 +38,7 @@ Pod::Spec.new do |s| cs.source_files = 'GCDWebDAVServer/*.{h,m}' cs.requires_arc = true cs.ios.library = 'xml2' + cs.tvos.library = 'xml2' cs.osx.library = 'xml2' cs.compiler_flags = '-I$(SDKROOT)/usr/include/libxml2' end