Ver código fonte

Update podspec

onevcat 10 anos atrás
pai
commit
d56f6556b5
1 arquivos alterados com 5 adições e 0 exclusões
  1. 5 0
      Kingfisher.podspec

+ 5 - 0
Kingfisher.podspec

@@ -28,6 +28,7 @@ Pod::Spec.new do |s|
   s.ios.deployment_target = "8.0"
   s.tvos.deployment_target = "9.0"
   s.osx.deployment_target = "10.10"
+  s.watchos.deployment_target = "2.0"
 
   s.source       = { :git => "https://github.com/onevcat/Kingfisher.git", :tag => s.version }
   
@@ -41,6 +42,10 @@ Pod::Spec.new do |s|
   s.tvos.source_files  = ["Sources/Kingfisher/*.swift", "Sources/Kingfisher-tvOS/Kingfisher-tvOS.h"]
   s.tvos.public_header_files = ["Sources/Kingfisher-tvOS/Kingfisher-tvOS.h"]
   
+  s.watchos.source_files  = ["Sources/Kingfisher/*.swift", "Sources/Kingfisher-watchOS/Kingfisher-watchOS.h"]
+  s.watchos.exclude_files = ["Sources/Kingfisher/UIButton+Kingfisher.swift", "Sources/Kingfisher/ImageView+Kingfisher.swift"]
+  s.watchos.public_header_files = ["Sources/Kingfisher-watchOS/Kingfisher-watchOS.h"]
+  
   s.requires_arc = true
   s.framework = "CFNetwork"