• 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: Added Framework has a Configuration (Release/Debug) ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Added Framework has a Configuration (Release/Debug) ?


  • Subject: Re: Added Framework has a Configuration (Release/Debug) ?
  • From: Jerry Krinock <email@hidden>
  • Date: Wed, 19 Aug 2009 16:26:16 -0700

After studying Ken's explanation, it turns out that I DON'T EVEN NEED those stupid private framework products in my "Linked Frameworks" Group. Instead, products from the "Referenced Projects" can have their Target Membership activated to link them, and be dragged into the "Copy Frameworks" Build Phase to get them copied into the product. I then removed them, did the double-clean and double-build as described in my original post, got no errors this time, and the app works.

So, to summarize, here's the Configuration-Agnostic Way to add private frameworks:

1. Make sure you've added the project which produces the private framework to your project. Suggested location: Make a "Referenced Projects" group. You need to do this to set a dependency anyhow.

2. To link the private framework to a target which needs it, switch the Active Target to the relevant target, expand the referenced project to show its Products, and check the box. (Control-click on the Groups & Files column heading if necessary to show Target Membership).

3. To get the private framework copied into your app product, drag the product from the referenced project down into your "Copy Frameworks" build phase of the app target.

Thanks, Ken.

_______________________________________________
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: Added Framework has a Configuration (Release/Debug) ?
      • From: "Sean McBride" <email@hidden>
    • Re: Added Framework has a Configuration (Release/Debug) ?
      • From: Ken Thomases <email@hidden>
References: 
 >Added Framework has a Configuration (Release/Debug) ? (From: Jerry Krinock <email@hidden>)
 >Re: Added Framework has a Configuration (Release/Debug) ? (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: Determining file descriptor leak via Instruments
  • Next by Date: Re: Added Framework has a Configuration (Release/Debug) ?
  • Previous by thread: Re: Added Framework has a Configuration (Release/Debug) ?
  • Next by thread: Re: Added Framework has a Configuration (Release/Debug) ?
  • Index(es):
    • Date
    • Thread