• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re:Umbrella Frameworks and headers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Umbrella Frameworks and headers
      • From: Nick Zitzmann <email@hidden>
References: 
 >errors trying to compile with PMTicketRef (From: Bryan Pietrzak <email@hidden>)
 >Re: PMTicketRef and Frameworks (From: Bryan Pietrzak <email@hidden>)
 >Re: PMTicketRef and Frameworks (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Basic Xcode C Lang question...
  • Next by Date: Re: Rép : isnan()
  • Previous by thread: Re: PMTicketRef and Frameworks
  • Next by thread: Re: Umbrella Frameworks and headers
  • Index(es):
    • Date
    • Thread