• 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 build phase and other framework topics
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new build phase and other framework topics


  • Subject: Re: new build phase and other framework topics
  • From: Chris Espinosa <email@hidden>
  • Date: Sat, 1 Nov 2008 09:33:16 -0700


On Nov 1, 2008, at 3:22 AM, John Love wrote:

I know that my knowledge of Frameworks is dismal; however, I desperately need help.

I have read Apple's Framework Programming Guide and several posted web sites which are based on the old XCODE 2, that is to say, the old dialog presented with CMD-I, rather than the XCODE 3 expanded CMD-I dialog.

Within my Groups and Files, the "Targets" shows "Copy Headers (20)" and "Compile Sources (19)" as set up when I created the Cocoa Framework from scratch ... and everything is there as it should be.  However, the built "Products/myframework.framework" shows nothing when clicking the triangle and when double-clicked displays only Listing 1 (p. 14) of Apple's Framework Programming Guide", rather than Listing 3 (pg. 15).

I have CTRL-clicked on appscript.framework and added new Build Phase = Copy files .. but the "Copy Files" following "Link Binary with Libraries" in the clip shows empty .. and I cannot figure out how to add files to it.

I really need some help here.

Build Phases are steps in building your target.  You can add them to a target.  Different types of build phases process different types of files in the target:

- Compile Sources runs the .c, .cp, .m, .mm files through the compiler
- Link Libraries and Frameworks links together compiled object files with external libraries and frameworks
- Copy Bundle Resources puts .tiff, .png, .rsrc, and other data files into the Resources folder
- Copy Headers copies the header files into the resulting framework

If you're not seeing the header files in the framework, my guess is that your headers are marked Private.  Select the Copy Headers build phase, choose Detail from the View menu, and look at the Role column.  Headers marked "Public" will be copied; headers marked "Project" or "Private" will not be.

Chris

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: new build phase and other framework topics
      • From: John Love <email@hidden>
References: 
 >new build phase and other framework topics (From: John Love <email@hidden>)

  • Prev by Date: Re: find regular expressions
  • Next by Date: Re: new build phase and other framework topics
  • Previous by thread: new build phase and other framework topics
  • Next by thread: Re: new build phase and other framework topics
  • Index(es):
    • Date
    • Thread