{"id":231,"date":"2014-12-03T16:51:20","date_gmt":"2014-12-03T08:51:20","guid":{"rendered":"http:\/\/sinofool.net\/blog\/?page_id=231"},"modified":"2016-10-03T01:26:40","modified_gmt":"2016-10-02T17:26:40","slug":"protobuf-for-ios","status":"publish","type":"post","link":"https:\/\/sinofool.net\/blog\/archives\/231","title":{"rendered":"Protobuf for iOS"},"content":{"rendered":"<address><a title=\"https:\/\/github.com\/sinofool\/build-protobuf-ios\" href=\"https:\/\/github.com\/sinofool\/build-protobuf-ios\" target=\"_blank\">https:\/\/github.com\/sinofool\/build-protobuf-ios<\/a><\/address>\n<p>\u5728iOS\u5f00\u53d1\u4e2d\u4f7f\u7528Google Protobuf\uff0c\u5df2\u7ecf\u66f4\u65b0\u5230\u6700\u65b0iOS SDK 8.1<\/p>\n<p>Build Google Protobuf for iOS development Only build script, please find Google Protobuf here:<a href=\"http:\/\/code.google.com\/p\/protobuf\/\">http:\/\/code.google.com\/p\/protobuf\/<\/a><\/p>\n<p>Tested on iOS SDK 8.1 on MacOSX 10.8 Tested Google Protobuf 2.6.1<br \/>\n** If older version 2.5.0 is needed, check the repoisitory history and find patch-arm64.patch<\/p>\n<p>Binary output will be on your Desktop and named &#8220;protobuf_dist&#8221;<\/p>\n<h1><a id=\"user-content-usage\" class=\"anchor\" href=\"https:\/\/github.com\/sinofool\/build-protobuf-ios#usage\"><\/a>Usage<\/h1>\n<pre><code>curl -O https:\/\/protobuf.googlecode.com\/files\/protobuf-2.6.1.tar.bz2\r\ntar xf protobuf-2.6.1.tar.bz2\r\ncd protobuf-2.6.1\r\ncurl https:\/\/raw.githubusercontent.com\/sinofool\/build-protobuf-ios\/master\/build_protobuf_dist.sh |bash\r\n......<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/github.com\/sinofool\/build-protobuf-ios \u5728iOS\u5f00\u53d1\u4e2d\u4f7f\u7528Google Protobuf\uff0c\u5df2\u7ecf\u66f4\u65b0\u5230\u6700\u65b0iOS SDK 8.1 Build Google Protobuf for iOS development Only build script, please find Google Protobuf here:http:\/\/code.google.com\/p\/protobuf\/ Tested on iOS SDK 8.1 on MacOSX 10.8 Tested Google Protobuf 2.6.1 ** If older version 2.5.0 is needed, check the repoisitory history and find patch-arm64.patch Binary output will be on your Desktop and named &#8220;protobuf_dist&#8221; [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[],"tags":[],"class_list":["post-231","post","type-post","status-publish","format-standard","hentry"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/sinofool.net\/blog\/wp-json\/wp\/v2\/posts\/231","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sinofool.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sinofool.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sinofool.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sinofool.net\/blog\/wp-json\/wp\/v2\/comments?post=231"}],"version-history":[{"count":4,"href":"https:\/\/sinofool.net\/blog\/wp-json\/wp\/v2\/posts\/231\/revisions"}],"predecessor-version":[{"id":242,"href":"https:\/\/sinofool.net\/blog\/wp-json\/wp\/v2\/posts\/231\/revisions\/242"}],"wp:attachment":[{"href":"https:\/\/sinofool.net\/blog\/wp-json\/wp\/v2\/media?parent=231"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sinofool.net\/blog\/wp-json\/wp\/v2\/categories?post=231"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sinofool.net\/blog\/wp-json\/wp\/v2\/tags?post=231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}