Adding protoc to xcode

How to add protoc (Protocol Buffers) compiler in xcode so that .proto project files are compiled when creating a project? In addition, these files must be created first so that automatically generated files are available to the C ++ compiler.

+3
source share
1 answer

Get information about your goal in Xcode and add a new build rule using the + button at the bottom of the Rules tab.

+3
source

Source: https://habr.com/ru/post/1746922/


All Articles