Skip to content
Snippets Groups Projects
Commit 739c0789 authored by Jorge Canizales's avatar Jorge Canizales
Browse files

Update version requirements and point to local podspecs

parent 707e320c
No related branches found
No related tags found
No related merge requests found
...@@ -3,13 +3,13 @@ Pod::Spec.new do |s| ...@@ -3,13 +3,13 @@ Pod::Spec.new do |s|
s.version = "0.0.1" s.version = "0.0.1"
s.license = "New BSD" s.license = "New BSD"
s.ios.deployment_target = "6.0" s.ios.deployment_target = "7.1"
s.osx.deployment_target = "10.8" s.osx.deployment_target = "10.9"
# Base directory where the .proto files are. # Base directory where the .proto files are.
src = "../../protos" src = "../../protos"
# Directory where the generated files will be place. # Directory where the generated files will be placed.
dir = "Pods/" + s.name dir = "Pods/" + s.name
# Run protoc with the Objective-C and gRPC plugins to generate protocol messages and gRPC clients. # Run protoc with the Objective-C and gRPC plugins to generate protocol messages and gRPC clients.
...@@ -22,14 +22,14 @@ Pod::Spec.new do |s| ...@@ -22,14 +22,14 @@ Pod::Spec.new do |s|
ms.source_files = "#{dir}/*.pbobjc.{h,m}", "#{dir}/**/*.pbobjc.{h,m}" ms.source_files = "#{dir}/*.pbobjc.{h,m}", "#{dir}/**/*.pbobjc.{h,m}"
ms.header_mappings_dir = dir ms.header_mappings_dir = dir
ms.requires_arc = false ms.requires_arc = false
ms.dependency "Protobuf", "~> 3.0.0-alpha-3" ms.dependency "Protobuf", "~> 3.0.0-alpha-4"
end end
s.subspec "Services" do |ss| s.subspec "Services" do |ss|
ss.source_files = "#{dir}/*.pbrpc.{h,m}", "#{dir}/**/*.pbrpc.{h,m}" ss.source_files = "#{dir}/*.pbrpc.{h,m}", "#{dir}/**/*.pbrpc.{h,m}"
ss.header_mappings_dir = dir ss.header_mappings_dir = dir
ss.requires_arc = true ss.requires_arc = true
ss.dependency "gRPC", "~> 0.6" ss.dependency "gRPC", "~> 0.11"
ss.dependency "#{s.name}/Messages" ss.dependency "#{s.name}/Messages"
end end
end end
source 'https://github.com/CocoaPods/Specs.git' source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0' platform :ios, '8.0'
pod 'Protobuf', :path => "../../../third_party/protobuf"
pod 'gRPC', :path => "../../.."
target 'AuthSample' do target 'AuthSample' do
# Depend on the generated AuthTestService library. # Depend on the generated AuthTestService library.
pod 'AuthTestService', :path => '.' pod 'AuthTestService', :path => '.'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment