Protobuf.podspec 1.1 KB

123456789101112131415161718192021222324
  1. # This file describes to Cocoapods how to integrate the Objective-C runtime into a dependent
  2. # project.
  3. # Despite this file being specific to Objective-C, it needs to be on the root of the repository.
  4. # Otherwise, Cocoapods gives trouble like not picking up the license file correctly, or not letting
  5. # dependent projects use the :git notation to refer to the library.
  6. Pod::Spec.new do |s|
  7. s.name = 'Protobuf'
  8. s.version = '3.0.0-alpha-4-pre'
  9. s.summary = 'Protocol Buffers v.3 runtime library for Objective-C.'
  10. s.homepage = 'https://github.com/google/protobuf'
  11. s.license = 'New BSD'
  12. s.authors = { 'The Protocol Buffers contributors' => 'protobuf@googlegroups.com' }
  13. s.source_files = 'objectivec/GPBProtocolBuffers.{h,m}'
  14. # GPBProtocolBuffers.{h,m} are umbrella files. We need Cocoapods to preserve the files imported by
  15. # them.
  16. s.preserve_paths = 'objectivec/*.{h,m}',
  17. 'objectivec/google/protobuf/*.pbobjc.{h,m}'
  18. s.header_mappings_dir = 'objectivec'
  19. s.ios.deployment_target = '7.1'
  20. s.osx.deployment_target = '10.9'
  21. s.requires_arc = false
  22. end