Fix GID related subspec lint problem

pull/12888/head
Muxi Yan 7 years ago
parent 03bd5daf5c
commit 656041b3cc
  1. 3
      gRPC.podspec
  2. 3
      templates/gRPC.podspec.template

@ -63,10 +63,13 @@ Pod::Spec.new do |s|
end end
s.subspec 'GID' do |ss| s.subspec 'GID' do |ss|
ss.ios.deployment_target = '7.0'
ss.header_mappings_dir = "#{src_dir}" ss.header_mappings_dir = "#{src_dir}"
ss.source_files = "#{src_dir}/GRPCCall+GID.{h,m}" ss.source_files = "#{src_dir}/GRPCCall+GID.{h,m}"
ss.dependency "#{s.name}/Main", version
ss.dependency 'Google/SignIn' ss.dependency 'Google/SignIn'
end end
end end

@ -65,10 +65,13 @@
end end
s.subspec 'GID' do |ss| s.subspec 'GID' do |ss|
ss.ios.deployment_target = '7.0'
ss.header_mappings_dir = "#{src_dir}" ss.header_mappings_dir = "#{src_dir}"
ss.source_files = "#{src_dir}/GRPCCall+GID.{h,m}" ss.source_files = "#{src_dir}/GRPCCall+GID.{h,m}"
ss.dependency "#{s.name}/Main", version
ss.dependency 'Google/SignIn' ss.dependency 'Google/SignIn'
end end
end end

Loading…
Cancel
Save