• 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: xcode 2.x: How to link a framework to a specific build configuration?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xcode 2.x: How to link a framework to a specific build configuration?


  • Subject: Re: xcode 2.x: How to link a framework to a specific build configuration?
  • From: Scott Tooker <email@hidden>
  • Date: Mon, 20 Feb 2006 12:33:37 -0800

The best you can do right now is to add the -framework <framework name> flag to "Other Linker Flags" in the Debug configuration (don't add the the library itself to the target, though) and possibly adding additional framework search paths if needed to "Framework Search Paths" for the Debug configuration.

In the future we want to add a more direct way to do this (a way in the UI to indicate that a file should be included/excluded on a per-configuration basis) in Xcode.

Scott


On Feb 20, 2006, at 11:50 AM, Jay Koutavas wrote:

I want my application's Debug configuration to link to a framework and my Release configuration not to. How do I do that with Xcode 2.1 and later?

The Xcode Help documentation for Build Configurations states:

"In addition to the predefined Debug and Release build configurations, you may need to define a special build configuration to satisfy particular needs, such as configuring an environment to measure the performance of your application. In such a build configuration you may add build settings that add a library or framework that gathers and logs performance-related information."

But gives no concrete example that I could find. I also don't really want to create a new configuration, just want to use my existing Debug configuration. I recall there use to be a "Frameworks" build setting somewhere in Xcode, maybe I'm remembering it from Xcode 1.5... I don't see it anywhere in 2.2..

A search of the xcode-users mail list archive did not turn up a specific discussion of this, nor did CocoaBuilder. Help please?
--
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

References: 
 >xcode 2.x: How to link a framework to a specific build configuration? (From: Jay Koutavas <email@hidden>)

  • Prev by Date: Re: XCode doesn't open anything
  • Next by Date: Re: XCode doesn't open anything
  • Previous by thread: xcode 2.x: How to link a framework to a specific build configuration?
  • Next by thread: Multiple definition errors!
  • Index(es):
    • Date
    • Thread