Jorge Canizales | 249483e | 2015-06-01 19:55:27 -0700 | [diff] [blame] | 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. |
Jorge Canizales | 687a5fe | 2015-05-13 19:54:55 -0700 | [diff] [blame] | 6 | Pod::Spec.new do |s| |
| 7 | s.name = 'Protobuf' |
Bo Yang | 9dd2bc4 | 2015-06-09 16:16:46 -0700 | [diff] [blame] | 8 | s.version = '3.0.0-alpha-4-pre' |
Jorge Canizales | 687a5fe | 2015-05-13 19:54:55 -0700 | [diff] [blame] | 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' |
Jorge Canizales | 592c44f | 2015-05-14 14:16:40 -0700 | [diff] [blame] | 12 | s.authors = { 'The Protocol Buffers contributors' => 'protobuf@googlegroups.com' } |
Jorge Canizales | 687a5fe | 2015-05-13 19:54:55 -0700 | [diff] [blame] | 13 | |
Jorge Canizales | d5d7bb3 | 2015-06-28 15:23:02 -0700 | [diff] [blame] | 14 | s.source_files = 'objectivec/GPBProtocolBuffers.{h,m}' |
| 15 | # GPBProtocolBuffers.{h,m} are umbrella files. We need Cocoapods to preserve the files imported by |
| 16 | # them. |
| 17 | s.preserve_paths = 'objectivec/*.{h,m}', |
| 18 | 'objectivec/google/protobuf/*.pbobjc.{h,m}' |
Jorge Canizales | 687a5fe | 2015-05-13 19:54:55 -0700 | [diff] [blame] | 19 | s.header_mappings_dir = 'objectivec' |
| 20 | |
Bo Yang | d58e95b | 2015-07-22 14:54:52 -0700 | [diff] [blame] | 21 | s.ios.deployment_target = '7.1' |
| 22 | s.osx.deployment_target = '10.9' |
Jorge Canizales | 687a5fe | 2015-05-13 19:54:55 -0700 | [diff] [blame] | 23 | s.requires_arc = false |
| 24 | end |