فهرست منبع

Include 'source' attribute in the podspec

The new version of Cocoapods requires it even when using the podspec locally.
Jorge Canizales 10 سال پیش
والد
کامیت
f492dd8aa4
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      Protobuf.podspec

+ 3 - 0
Protobuf.podspec

@@ -11,6 +11,9 @@ Pod::Spec.new do |s|
   s.license  = 'New BSD'
   s.authors  = { 'The Protocol Buffers contributors' => 'protobuf@googlegroups.com' }
 
+  s.source = { :git => 'https://github.com/google/protobuf.git',
+               :tag => "v#{s.version}" }
+
   s.source_files = 'objectivec/*.{h,m}',
                    'objectivec/google/protobuf/Any.pbobjc.{h,m}',
                    'objectivec/google/protobuf/Api.pbobjc.{h,m}',