Xcode 6 Cocoa Touch Framework project cannot find public headers

I am having serious problems trying to get Xcode to search for any public header files in my Cocoa Touch framework project in Xcode 6. I have a very explicit folder structure in my framework project directory that looks something like this: / p>

APIKit -> DataModels -> User -> APIUser.h

The "DataModels" directory is the place where I put all my model objects, and each subtype of the object will have its own subdirectory in DataModels (for example, like APIUser above). Importing the above file into the APIKit.h header file is as follows:

#import <APIKit/DataModels/User/APIUser.h>

However, for some reason, Xcode cannot find this dang file! Looking at the list of public headers from the project settings, it is shown that the above directory is 100% correct. Does that make sense to everyone?

Update: even #import <UIKit/UIKit.h> cannot be found in my APIKit.h header file - crazy!

+7
cocoa-touch frameworks ios8 xcode6
source share
1 answer

don't forget to link the binaries in Xcode in the build phases or you say that xCode cannot find them in the links section.

0
source share

All Articles