Re:Umbrella Frameworks and headers
Re:Umbrella Frameworks and headers
- Subject: Re:Umbrella Frameworks and headers
- From: Bryan Pietrzak <email@hidden>
- Date: Mon, 12 Jul 2004 10:08:21 -0500
On Jul 9, 2004, at 6:32 PM, Nick Zitzmann wrote:
On Jul 9, 2004, at 1:14 PM, Bryan Pietrzak wrote:
So how do I include a header from a sub-framework within an umbrella
framework like ApplicationServices? I ended up making this all work
by directly adding the PrintCore framework to my app, but that seems
very wrong since it's inside ApplicationServices.
I just tried a thought experiment on this one. If I wrote in a source
file:
#include <PrintCore/PMTicket.h>
...and added this to the target's frameworks search path:
/System/Library/Frameworks/ApplicationServices.framework/Frameworks
...and the project built just fine with no errors. But if I removed
the search path above, I received the same error. I would also
recommend filing a bug report on this. Chances are that header should
be present in PrintCore.h, but only Apple's engineers would know for
sure...
OK, I don't want to write up a bug report until I better understand the
problem.
If add an umbrella framework like ApplicationServices to my project and
then do an #include <ApplicationServices/ApplicationServices.h> should
I then be able to expect that ALL headers within the umbrella
framework, including those in sub-frameworks are available without any
additional effort in Xcode? If so, then the fact that PrintCore.h does
not include PMTicket.h is clearly a bug. If not, then I don't
understand exactly what the Right Thing to do in Xcode is with regard
to these "orhpaned" headers within frameworks. Is adding a
sub-framework or adding a search path as above the Right Thing?
Bryan
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.