I have downloaded the facebook open source code pop from github. But all header files are imported like this: #import <POP/POPAnimatableProperty.h>
. What should I to do with project setting to support import file like this in my project. I know that I can run it by replace all #import <POP/XXX.h>
with #import XXX.h
but I'd to use the open source like the pop sample project.
Asked
Active
Viewed 2,996 times
4
1 Answers
11
Through learning cocoapod project, I have got how to config project. Config pop file path to system path, then I can include pod with #import <POP/POP.h>
.
Add a new
configuration setting file
, edit file with following content:HEADER_SEARCH_PATHS = "${SRCROOT}/Library" "${SRCROOT}/Library/pop" OTHER_CFLAGS = $(inherited) "-isystem${SRCROOT}/Library" "-isystem${SRCROOT}/Library/pop"
Put pop folder to
${SRCROOT}/Library
dictionary.In project setting, info tab, set configurations with the new configuration file.

simalone
- 2,768
- 1
- 15
- 20
-
can u tell me how to set configuration with the new configuration file? – Jagveer Singh Jul 16 '14 at 13:11
-
@JagveerSinghRajput I have edited my answer with a Image – simalone Jul 17 '14 at 05:20
-
i am unable to understand your second step. Please tell me with example – Jagveer Singh Jul 17 '14 at 10:42
-
@JagveerSinghRajput I have edit my answer. The path is depended on the configuration file content actually, and I think you should understand it first. – simalone Jul 18 '14 at 02:44
-
1hi, i have the problem "Undefined symbols for architecture armv7: _OBJC_CLASS_$_POPSpringAnimation" followed these steps in xcode6, any idea? – do. Oct 16 '14 at 05:34