The original idea is to compile protobuf on the Mac to generate PROTOC tools first,
Then compile with different CPUs, and finally build the fat a file with Lipo
CPU sequence is i386, armv7 ...
Generate ARMV7 time always inexplicably reported different CPU types of errors, errors in the. Libs folder on the total O file
Try calling find before each call to a different CPU. -name. Libs | Xargs RM-RF
Results even the i386 are compiled to get to the conclusion, the first step to generate the Protoc tool is not only required PROTOC This tool also included in the Libs some intermediate files are also useful
All right, long winded, and finally found out.
The process for the build tool is./configure; Make Make install
The process for generating different CPUs is./configure; Make Copy Make clean
Revert the previously changed things, then add a make at the end of the build tool flow.
Well, inexplicable mistake, somehow solved, recorded
Protobuf in iOS compilation