How can I add a header folder to my project?
- by VansFannel
I'm developing an iOS application with latest Xcode 4.5.2.
I have the following folder structure:
/.../SourceCode/MyProjectFolder/projectName.xcodeproject
/.../SourceCode/MyProjectFolder/projectName/
/.../SourceCode/MyProjectFolder/projectName/xxx.m
/.../SourceCode/MyProjectFolder/projectName/xxx.h
/.../SourceCode/MyProjectFolder/projectName/PVRT/
/.../SourceCode/MyProjectFolder/projectName/PVRT/header1.h
/.../SourceCode/MyProjectFolder/projectName/PVRT/OtherFolder/header2.h
If in my header files I add this:
#include "header1.h"
I get a "header1.h" not found error.
But, if I add:
#include "PVRT/header1.h"
I get a "header2.h" not found.
On project settings I have add the following path:
${SOURCE_ROOT}/projectName/PVRT
But I'm getting the same error.
How can I fix this?