{"action":"created","issue":{"url":"https://api.github.com/repos/grpc/grpc/issues/4518","repository_url":"https://api.github.com/repos/grpc/grpc","labels_url":"https://api.github.com/repos/grpc/grpc/issues/4518/labels{/name}","comments_url":"https://api.github.com/repos/grpc/grpc/issues/4518/comments","events_url":"https://api.github.com/repos/grpc/grpc/issues/4518/events","html_url":"https://github.com/grpc/grpc/issues/4518","id":122834247,"number":4518,"title":"Package protoc and ObjC plugin in the pods.","user":{"login":"ctiller","id":10120821,"avatar_url":"https://avatars.githubusercontent.com/u/10120821?v=3","gravatar_id":"","url":"https://api.github.com/users/ctiller","html_url":"https://github.com/ctiller","followers_url":"https://api.github.com/users/ctiller/followers","following_url":"https://api.github.com/users/ctiller/following{/other_user}","gists_url":"https://api.github.com/users/ctiller/gists{/gist_id}","starred_url":"https://api.github.com/users/ctiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctiller/subscriptions","organizations_url":"https://api.github.com/users/ctiller/orgs","repos_url":"https://api.github.com/users/ctiller/repos","events_url":"https://api.github.com/users/ctiller/events{/privacy}","received_events_url":"https://api.github.com/users/ctiller/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/grpc/grpc/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/grpc/grpc/labels/ObjC","name":"ObjC","color":"d4c5f9"},{"url":"https://api.github.com/repos/grpc/grpc/labels/P2","name":"P2","color":"f9d0c4"}],"state":"open","locked":false,"assignee":{"login":"y-zeng","id":17460127,"avatar_url":"https://avatars.githubusercontent.com/u/17460127?v=3","gravatar_id":"","url":"https://api.github.com/users/y-zeng","html_url":"https://github.com/y-zeng","followers_url":"https://api.github.com/users/y-zeng/followers","following_url":"https://api.github.com/users/y-zeng/following{/other_user}","gists_url":"https://api.github.com/users/y-zeng/gists{/gist_id}","starred_url":"https://api.github.com/users/y-zeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/y-zeng/subscriptions","organizations_url":"https://api.github.com/users/y-zeng/orgs","repos_url":"https://api.github.com/users/y-zeng/repos","events_url":"https://api.github.com/users/y-zeng/events{/privacy}","received_events_url":"https://api.github.com/users/y-zeng/received_events","type":"User","site_admin":false},"assignees":[{"login":"y-zeng","id":17460127,"avatar_url":"https://avatars.githubusercontent.com/u/17460127?v=3","gravatar_id":"","url":"https://api.github.com/users/y-zeng","html_url":"https://github.com/y-zeng","followers_url":"https://api.github.com/users/y-zeng/followers","following_url":"https://api.github.com/users/y-zeng/following{/other_user}","gists_url":"https://api.github.com/users/y-zeng/gists{/gist_id}","starred_url":"https://api.github.com/users/y-zeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/y-zeng/subscriptions","organizations_url":"https://api.github.com/users/y-zeng/orgs","repos_url":"https://api.github.com/users/y-zeng/repos","events_url":"https://api.github.com/users/y-zeng/events{/privacy}","received_events_url":"https://api.github.com/users/y-zeng/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/grpc/grpc/milestones/41","html_url":"https://github.com/grpc/grpc/milestones/2016/05/21%20Milestone","labels_url":"https://api.github.com/repos/grpc/grpc/milestones/41/labels","id":1724098,"number":41,"title":"2016/05/21 Milestone","description":"","creator":{"login":"nicolasnoble","id":7281574,"avatar_url":"https://avatars.githubusercontent.com/u/7281574?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolasnoble","html_url":"https://github.com/nicolasnoble","followers_url":"https://api.github.com/users/nicolasnoble/followers","following_url":"https://api.github.com/users/nicolasnoble/following{/other_user}","gists_url":"https://api.github.com/users/nicolasnoble/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolasnoble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolasnoble/subscriptions","organizations_url":"https://api.github.com/users/nicolasnoble/orgs","repos_url":"https://api.github.com/users/nicolasnoble/repos","events_url":"https://api.github.com/users/nicolasnoble/events{/privacy}","received_events_url":"https://api.github.com/users/nicolasnoble/received_events","type":"User","site_admin":false},"open_issues":55,"closed_issues":328,"state":"open","created_at":"2016-04-21T23:36:09Z","updated_at":"2016-06-24T23:09:04Z","due_on":"2016-05-21T07:00:00Z","closed_at":null},"comments":6,"created_at":"2015-12-17T22:15:35Z","updated_at":"2016-06-24T23:09:08Z","closed_at":null,"body":"I'm not sure what the answer is... let's chat.\r\n\r\nAsking users to copy and paste this much into their projects just to start is way intimidating though:\r\n```ruby\r\nPod::Spec.new do |s|\r\n  s.name     = '<Podspec file name>'\r\n  s.version  = '0.0.1'\r\n  s.license  = '...'\r\n\r\n  s.ios.deployment_target = '7.1'\r\n  s.osx.deployment_target = '10.9'\r\n\r\n  # Run protoc with the Objective-C and gRPC plugins to generate protocol messages and gRPC clients.\r\n  # You can run this command manually if you later change your protos and need to regenerate.\r\n  s.prepare_command = \"protoc --objc_out=. --objcgrpc_out=. *.proto\"\r\n\r\n  # The --objc_out plugin generates a pair of .pbobjc.h/.pbobjc.m files for each .proto file.\r\n  s.subspec \"Messages\" do |ms|\r\n    ms.source_files = \"*.pbobjc.{h,m}\"\r\n    ms.header_mappings_dir = \".\"\r\n    ms.requires_arc = false\r\n    ms.dependency \"Protobuf\", \"~> 3.0.0-alpha-4\"\r\n  end\r\n\r\n  # The --objcgrpc_out plugin generates a pair of .pbrpc.h/.pbrpc.m files for each .proto file with\r\n  # a service defined.\r\n  s.subspec \"Services\" do |ss|\r\n    ss.source_files = \"*.pbrpc.{h,m}\"\r\n    ss.header_mappings_dir = \".\"\r\n    ss.requires_arc = true\r\n    ss.dependency \"gRPC\", \"~> 0.12\"\r\n    ss.dependency \"#{s.name}/Messages\"\r\n  end\r\nend\r\n```"},"comment":{"url":"https://api.github.com/repos/grpc/grpc/issues/comments/228485187","html_url":"https://github.com/grpc/grpc/issues/4518#issuecomment-228485187","issue_url":"https://api.github.com/repos/grpc/grpc/issues/4518","id":228485187,"user":{"login":"y-zeng","id":17460127,"avatar_url":"https://avatars.githubusercontent.com/u/17460127?v=3","gravatar_id":"","url":"https://api.github.com/users/y-zeng","html_url":"https://github.com/y-zeng","followers_url":"https://api.github.com/users/y-zeng/followers","following_url":"https://api.github.com/users/y-zeng/following{/other_user}","gists_url":"https://api.github.com/users/y-zeng/gists{/gist_id}","starred_url":"https://api.github.com/users/y-zeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/y-zeng/subscriptions","organizations_url":"https://api.github.com/users/y-zeng/orgs","repos_url":"https://api.github.com/users/y-zeng/repos","events_url":"https://api.github.com/users/y-zeng/events{/privacy}","received_events_url":"https://api.github.com/users/y-zeng/received_events","type":"User","site_admin":false},"created_at":"2016-06-24T23:09:08Z","updated_at":"2016-06-24T23:09:08Z","body":"Sure, thanks!"}}
{"actor":{"display_login":"y-zeng"}}