Skip to content

Instantly share code, notes, and snippets.

View StatusReport's full-sized avatar

Yaron Inger StatusReport

  • Lightricks
  • Israel
View GitHub Profile
@StatusReport
StatusReport / ..build-protobuf.md
Last active May 21, 2021 08:32 — forked from petewarden/..build-protobuf-3.0.0.md
Build Google Protobuf 3.x for iOS. Builds all supported architectures and produces a universal binary static library.

Google Protobuf 3.x - Mac OS X and iOS Support

The script in this gist will help you buid the Google Protobuf library for use with Mac OS X and iOS. Other methods (such as homebrew or direct compilation) have issues that prevent their use. The libraries built by this script are universal and support all iOS device architectures including the simulator.

This gist was adapted from the original at https://gist.github.com/BennettSmith/7150245, and updated to deal with Xcode 8 and iOS 10, and download protobuf version 3.3.2.