Re: How to eliminate a target's automatic framework search setting
Re: How to eliminate a target's automatic framework search setting
- Subject: Re: How to eliminate a target's automatic framework search setting
- From: Tron Thomas <email@hidden>
- Date: Sun, 27 Jun 2010 14:29:15 -0700
It very much is a problem. All targets build to one location. This
means all the frameworks that are built for the project end up in that
directory. All frameworks are built before applications so the
frameworks will always be there when the application that doesn't want
to use them needs to build.
It seems like someone should be able to disable this setting. There
doesn't seem to be a reason why this setting must always exists, and in
this case it is causing a problem.
On 06/27/2010 01:27 PM, Christiaan Hofman wrote:
On Jun 27, 2010, at 17:57, Tron Thomas wrote:
Whenever someone creates a project in Xcode 3.2.1, Xcode configures the targets in a project with a flag that searches for available frameworks in the project's build location.
For example, if someone named John creates a project in his home directory, the build output for compiling a module in the project will contain a switch like the following:
-F/Users/john/MyProject/build/Debug
This setting shows up automatically, and there does not appear to be any way to modify it in the settings options for the project, target, or module. The obvious setting (Framework Search Paths) is initially blank for a new project.
This setting can be problematic for a project that builds multiple targets all in the same location, some of which might use frameworks that exist in the specified path and others that want to use other header files that are specified in a similar way, yet exist outside the frameworks.
How can someone eliminate this framework search setting from a target in an Xcode project?
I don't think you can remove that one. On the other hand I also don't see why this would be a problem, because the folder should always exist, and it's just a search path, i.e. a place where frameworks MAY be, not where they MUST be.
Christiaan
_______________________________________________
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