Protobuf.podspec 1.07 KB
Newer Older
1 2 3 4 5
# This file describes to Cocoapods how to integrate the Objective-C runtime into a dependent
# project.
# Despite this file being specific to Objective-C, it needs to be on the root of the repository.
# Otherwise, Cocoapods gives trouble like not picking up the license file correctly, or not letting
# dependent projects use the :git notation to refer to the library.
6 7
Pod::Spec.new do |s|
  s.name     = 'Protobuf'
8
  s.version  = '3.0.0-alpha-4-pre'
9 10 11
  s.summary  = 'Protocol Buffers v.3 runtime library for Objective-C.'
  s.homepage = 'https://github.com/google/protobuf'
  s.license  = 'New BSD'
12
  s.authors  = { 'The Protocol Buffers contributors' => 'protobuf@googlegroups.com' }
13

14 15 16 17 18
  s.source_files = 'objectivec/GPBProtocolBuffers.{h,m}'
  # GPBProtocolBuffers.{h,m} are umbrella files. We need Cocoapods to preserve the files imported by
  # them.
  s.preserve_paths = 'objectivec/*.{h,m}',
                     'objectivec/google/protobuf/*.pbobjc.{h,m}'
19 20
  s.header_mappings_dir = 'objectivec'

21 22
  s.ios.deployment_target = '7.1'
  s.osx.deployment_target = '10.9'
23 24
  s.requires_arc = false
end