1

I am following this post: Google protocol buffers on iOS

I copied the Google Folder and Config.h into my project.

I have finished everything, but the problem I am having is to do with this step: "add the directory of google headers to your additional include directories"

I added the Google folder to my Header Search Path & User Header Search Paths. I used this: "$(SRCROOT)"/google recursive

No matter what I do, the compiler can not find the Google headers. What am I missing?

Community
  • 1
  • 1
Mausimo
  • 8,018
  • 12
  • 52
  • 70

1 Answers1

2

dont give the path till google/ ... give the path till src/

Navigate to your protocol buffer's src folder and just drag and drop the src folder to "Header Search Paths" in XCode buld settings. That should do it.

Tushar Koul
  • 2,830
  • 3
  • 31
  • 62