Re: Added Framework has a Configuration (Release/Debug) ?
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