Xcode includes paths

I am having trouble getting Xcode to process the specific file structure that I use or that I want to use.

I have a set of files as follows ...

Library
   Headers
      Library
         Package1
            Header1.h
            Header2.h
            HeaderN.h 
         Package2
            Header1.h
            Header2.h
            HeaderN.h 
         PackageN
            Header1.h
            Header2.h
            HeaderN.h 
   Source
      Package1
         Source1.m
         Source2.m
         Sourcen.m 
      Package2
         Source1.m
         Source2.m
         Sourcen.m 
      Package3
         Source1.m
         Source2.m
         Sourcen.m 

The inclusion model I want for code outside this library ...

#import "Library/Package/Header.h"

I want to specify Xcode in Library / Headers, but not in internal folders. When I add this tree to the project, Xcode seems to create implicit include paths to each node in the tree.

Client code inside the project, but outside of this tree, can do this ...

#import "Header.h"

instead...

#import "Library/Package/Header.h"

.

.

,

+5
2

, XCode , . - "/" . , XCode ; "/", .

+1

Xcode, . , :

HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT=NO

.

+6

All Articles