gRPC-Swift.podspec 1.0 KB

12345678910111213141516171819202122232425262728
  1. Pod::Spec.new do |s|
  2. s.name = 'gRPC-Swift'
  3. s.module_name = 'GRPC'
  4. s.version = '1.0.0-alpha.20'
  5. s.license = { :type => 'Apache 2.0', :file => 'LICENSE' }
  6. s.summary = 'Swift gRPC code generator plugin and runtime library'
  7. s.homepage = 'https://www.grpc.io'
  8. s.authors = { 'The gRPC contributors' => 'grpc-packages@google.com' }
  9. s.swift_version = '5.0'
  10. s.ios.deployment_target = '10.0'
  11. s.osx.deployment_target = '10.12'
  12. s.tvos.deployment_target = '10.0'
  13. s.watchos.deployment_target = '6.0'
  14. s.source = { :git => "https://github.com/grpc/grpc-swift.git", :tag => s.version }
  15. s.source_files = 'Sources/GRPC/**/*.{swift,c,h}'
  16. s.dependency 'Logging', '>= 1.4.0', '< 2'
  17. s.dependency 'SwiftNIO', '>= 2.22.0', '< 3'
  18. s.dependency 'SwiftNIOHTTP2', '>= 1.14.1', '< 2'
  19. s.dependency 'SwiftNIOSSL', '>= 2.8.0', '< 3'
  20. s.dependency 'SwiftNIOTransportServices', '>= 1.6.0', '< 2'
  21. s.dependency 'SwiftProtobuf', '>= 1.9.0', '< 2'
  22. s.dependency 'CGRPCZlib', s.version.to_s
  23. end