Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Framework header file not found (iOS pop framework)

I'd like to install facebook's pop framework. I have a multi-project workspace which is not using cocoa pods. I want just the simplest, dumbest, quickest install.

From the pop readme:

"... you can add the project to your workspace and adopt the provided configuration files or manually copy the files under the pop subdirectory into your project. If installing manually, ensure the C++ standard library is also linked by including -lc++ to your project linker flags."

  1. I added pop.xcodeproj to my workspace.
  2. I added "pop.framework" to to the project that needs pop (general > linked frameworks and libraries).
  3. I added "-lc++" to my project linked flags (in the project that needs pop).
  4. Added #import <POP/POP.h> to my .m file.

The result: "POP/POP.h" not found.

I guess I'm doing something wrong, but absolutely no idea where to start looking.

like image 569
tj77 Avatar asked Jun 10 '14 22:06

tj77


1 Answers

I set the Built Setting of my project, then it worked.

User Header Search Paths = $(SRCROOT)       // recursive. Pop is placed in the directory
Always Search User Paths = YES
like image 57
leavez Avatar answered Sep 23 '22 20:09

leavez