SwiftGRPC.podspec 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Copyright 2018, gRPC Authors. All rights reserved.
  2. # Licensed under the Apache License, Version 2.0 (the "License");
  3. # you may not use this file except in compliance with the License.
  4. # You may obtain a copy of the License at
  5. # http://www.apache.org/licenses/LICENSE-2.0
  6. # Unless required by applicable law or agreed to in writing, software
  7. # distributed under the License is distributed on an "AS IS" BASIS,
  8. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  9. # See the License for the specific language governing permissions and
  10. # limitations under the License.
  11. Pod::Spec.new do |s|
  12. s.name = 'SwiftGRPC'
  13. s.version = '0.9.0'
  14. s.license = { :type => 'Apache License, Version 2.0',
  15. :text => <<-LICENSE
  16. Copyright 2018, gRPC Authors. All rights reserved.
  17. Licensed under the Apache License, Version 2.0 (the "License");
  18. you may not use this file except in compliance with the License.
  19. You may obtain a copy of the License at
  20. http://www.apache.org/licenses/LICENSE-2.0
  21. Unless required by applicable law or agreed to in writing, software
  22. distributed under the License is distributed on an "AS IS" BASIS,
  23. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  24. See the License for the specific language governing permissions and
  25. limitations under the License.
  26. LICENSE
  27. }
  28. s.summary = 'Swift gRPC code generator plugin and runtime library'
  29. s.homepage = 'https://www.grpc.io'
  30. s.authors = { 'The gRPC contributors' => 'grpc-packages@google.com' }
  31. s.source = { :git => 'https://github.com/grpc/grpc-swift.git', :tag => s.version }
  32. s.requires_arc = true
  33. s.ios.deployment_target = '8.0'
  34. s.osx.deployment_target = '10.10'
  35. s.tvos.deployment_target = '10.0'
  36. s.source_files = 'Sources/SwiftGRPC/*.swift', 'Sources/SwiftGRPC/**/*.swift', 'Sources/CgRPC/shim/*.[ch]'
  37. s.public_header_files = 'Sources/CgRPC/shim/cgrpc.h'
  38. s.dependency 'gRPC-Core', '~> 1.19.0'
  39. s.dependency 'SwiftProtobuf', '~> 1.5.0'
  40. end