I have a script which builds protobuf 2.5.0 for Mac OS X and iOS.  You can 
take a look here:


It builds a fat binary with all architectures in the library.  

It also works around an issue in iOS 7 where Apple is shipping their own 
build of protobuf as an internal framework. So far I have run into it being 
used in the OpenGL ES code in iOS 7.  Apple really should either distribute 
their protobuf build as a public library or they should rename the 
::google::protobuf:: namespace to something else in their private framework 
build.  Until then, my "fix" is to rename the ::google portion of the 
namespace as ::google_public with a few sed scripts in the build process.


-- Bennett

On Friday, November 8, 2013 10:06:10 AM UTC-8, prot...@googlecode.com wrote:
> Status: New 
> Owner: liu...@google.com <javascript:> 
> Labels: Type-Defect Priority-Medium 
> New issue 575 by sa...@opanga.com: Google Protobuf will not build under   
> ARM64 
> http://code.google.com/p/protobuf/issues/detail?id=575 
> What steps will reproduce the problem? 
> 1. Build Google protobuf code for ARM64 target 
> What is the expected output? What do you see instead? 
> I expected it to buid cleanly, instead I hit the "#error Host architecture 
> was not detected as supported by protobuf" preprocessor macro. 
> What version of the product are you using? On what operating system? 
> I'm using protobuf-2.5.0 on MacOSX building for iOS 64-bit. 
> -- 
> You received this message because this project is configured to send all   
> issue notifications to this address. 
> You may adjust your notification preferences at: 
> https://code.google.com/hosting/settings 

You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to