Re: How to Add a Framework To More Than One Target In One Project
Re: How to Add a Framework To More Than One Target In One Project
- Subject: Re: How to Add a Framework To More Than One Target In One Project
- From: Eeyore <email@hidden>
- Date: Thu, 15 Mar 2012 12:14:47 -0700
You might be able to use configuration (xcconfig) files to adjust groups of targets from a single location. Searching the web for xcconfig ought to find you instructions if you haven't used them before. I have quit using the Xcode UI for configuration except when I'm doing short term edits to the build process.
Aaron
On Mar 15, 2012, at 11:57 AM, Andreas Grosam wrote:
> I've a project which has many targets. Each target needs to be linked against the same Frameworks. Is it possible to setup the targets in an efficient way?
> I would like to be able to select all the targets and then add one or many selected from the Xcode's UI for selecting frameworks.
>
> It seems this is not possible, and we have to repeat this step for each target separately, which is quite tedious.
>
> Side note:
> This is especially tedious, since Xcode is still unable to correctly evaluate paths when referencing files (or frameworks) which just have been added via Xcode's UI. For frameworks or libraries, either the entry in "Link Binary With Libraries" is incorrect, or the reference in the Navigator pane, or both. In this case, the names appear in red color, and building may fail (well, often, depending whether the build system uses the malformed path).
>
>
> Thanks for help.
>
>
> Regards
> Andreas
> _______________________________________________
> 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
>
_______________________________________________
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