• 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: new to frameworks question... no headers inside
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new to frameworks question... no headers inside


  • Subject: Re: new to frameworks question... no headers inside
  • From: Scott Thompson <email@hidden>
  • Date: Mon, 26 Apr 2004 09:24:36 -0500

ok i have gotten a bit farther but this seems like the long way to go around.

i created a new copy build process that copies all my public headers into

blah.framework/Versions/A/Headers directory at build time.

got this from the apple site http://developer.apple.com/documentation/MacOSX/Conceptual/ BPFrameworks/Concepts/FrameworkAnatomy.html#//apple_ref/doc/uid/ 20002253

and this works i still however can't see the header when i go to include it in my application after i have added the framework into external frameworks

and it seems to be because i to not have a link to Headers at the blah.framework/ level. what process creates the resources link and is there a way to automate the linking of those files.

of course please let me know if i am way off base here.

You're way off base here :-)

Get rid of your copy build step. Select the framework under the "Targets" header and turn down it's little triangle so you see the build phases. Select the "Headers" section and in the list of columns off to the right you will see a new column "Role". In the "Role" column change the role of the headers you wish to have copied into your framework from "Project" to "Public". Then when you build, XCode should create the required folders, links, etc... to have those headers copied out on to the disk.

Scott
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >new to frameworks question... no headers inside (From: Ken Hawkins <email@hidden>)
 >Re: new to frameworks question... no headers inside (From: Ken Hawkins <email@hidden>)

  • Prev by Date: Re: "Merged cells"
  • Next by Date: ANN: OCSmartHacks web pages
  • Previous by thread: Re: new to frameworks question... no headers inside
  • Next by thread: Prototype for NSMatrix steeling text?
  • Index(es):
    • Date
    • Thread