I am trying to write a framework. In my project I am trying to use this framework:
http://code.google.com/p/json-framework/
but when I try to build my app I keep getting 'header not found' errors.
I'm importing <JSON/JSON.h> so I looked in there. There I saw
#import "SBJSON.h"
If I changed that to #import <JSON/SBJSON.h> (and the other headers statements), it worked. The developer says that I shouldn't need to do that and that it works 'out of the box'. So my question is, what is the proper way to include header files in a framework? I see a directory in his framework that says PrivateHeaders, but I can't find any information on that. Also, When I tell Xcode to include my headers in my framework, do I have to go in and manually change the import statements?
http://code.google.com/p/json-framework/
but when I try to build my app I keep getting 'header not found' errors.
I'm importing <JSON/JSON.h> so I looked in there. There I saw
#import "SBJSON.h"
If I changed that to #import <JSON/SBJSON.h> (and the other headers statements), it worked. The developer says that I shouldn't need to do that and that it works 'out of the box'. So my question is, what is the proper way to include header files in a framework? I see a directory in his framework that says PrivateHeaders, but I can't find any information on that. Also, When I tell Xcode to include my headers in my framework, do I have to go in and manually change the import statements?