Skip to content

Commit 614ff58

Browse files
committed
Enable support for tvOS.
1 parent 7b0477b commit 614ff58

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

GCDWebServer.podspec

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Pod::Spec.new do |s|
1515

1616
s.source = { :git => 'https://github.com/swisspol/GCDWebServer.git', :tag => s.version.to_s }
1717
s.ios.deployment_target = '5.0'
18+
s.tvos.deployment_target = '9.0'
1819
s.osx.deployment_target = '10.7'
1920
s.requires_arc = true
2021

@@ -26,6 +27,8 @@ Pod::Spec.new do |s|
2627
cs.requires_arc = true
2728
cs.ios.library = 'z'
2829
cs.ios.frameworks = 'MobileCoreServices', 'CFNetwork'
30+
cs.tvos.library = 'z'
31+
cs.tvos.frameworks = 'MobileCoreServices', 'CFNetwork'
2932
cs.osx.library = 'z'
3033
cs.osx.framework = 'SystemConfiguration'
3134
end
@@ -35,6 +38,7 @@ Pod::Spec.new do |s|
3538
cs.source_files = 'GCDWebDAVServer/*.{h,m}'
3639
cs.requires_arc = true
3740
cs.ios.library = 'xml2'
41+
cs.tvos.library = 'xml2'
3842
cs.osx.library = 'xml2'
3943
cs.compiler_flags = '-I$(SDKROOT)/usr/include/libxml2'
4044
end

0 commit comments

Comments
 (0)