gRPC-Swift.podspec 1.1 KB

1234567891011121314151617181920212223242526272829
  1. Pod::Spec.new do |s|
  2. s.name = 'gRPC-Swift'
  3. s.module_name = 'GRPC'
  4. s.version = '1.0.0-alpha.22'
  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.1'
  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.25.0', '< 3'
  18. s.dependency 'SwiftNIOExtras', '>= 1.7.0', '< 2'
  19. s.dependency 'SwiftNIOHTTP2', '>= 1.16.2', '< 2'
  20. s.dependency 'SwiftNIOSSL', '>= 2.10.1', '< 3'
  21. s.dependency 'SwiftNIOTransportServices', '>= 1.9.1', '< 2'
  22. s.dependency 'SwiftProtobuf', '>= 1.14.0', '< 2'
  23. s.dependency 'CGRPCZlib', s.version.to_s
  24. end