• 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: Linking debug/release app with debug/release framework?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linking debug/release app with debug/release framework?


  • Subject: Re: Linking debug/release app with debug/release framework?
  • From: Guy Umbright <email@hidden>
  • Date: Wed, 25 Jan 2006 09:08:52 -0600

Daniel,

Thanks for the answer, but I am afraid I have been specific enough.

I take it you are referring to making the framework <project> a dependent, am referring to actual built
versions of the framework. The framework is an independent entity with its own development
cycle.


Think of more in terms of framework as static library. I can build debug and release versions of a library.
I want to link with the debug version when I build my debug app and with the release lib when I build my
release app.


Perhaps if I phrase it a different way:

How do you specify that different libraries/frameworks/etc. are included in a build based on the configuration?


On Jan 24, 2006, at 11:20 PM, Daniel Jalkut wrote:

Hi Guy - just add the framework project file to your application's project (assuming they're separate projects). Then, you should be able to do the following:

1. Make the framework's target a direct dependency of the application target. (From the General pane of the Target inspector).
2. Include the framework's build result (open the disclosure triangle for the included project icon) in the application target.


Xcode will take care of matching the correct build configurations, as long as they're named the same (and you build them to a common build directory).

Daniel

On Jan 24, 2006, at 11:18 PM, Guy Umbright wrote:

I am guess I am just being dim here...but here goes.

I have a private framework and have built release and debug version.

I have an app that uses that framework and want the debug version of the app to use the debug
version of the framework, the release version of the app to use the release framework.


How do I do this in XCode?

Guy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
sweater.com


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
  • Follow-Ups:
    • Re: Linking debug/release app with debug/release framework?
      • From: Dirk Stegemann <email@hidden>
References: 
 >Linking debug/release app with debug/release framework? (From: Guy Umbright <email@hidden>)
 >Re: Linking debug/release app with debug/release framework? (From: Daniel Jalkut <email@hidden>)

  • Prev by Date: Re: pbxcp and resource forks (solved)
  • Next by Date: Re: Nav Services focus...
  • Previous by thread: Re: Crash when opening project in 2.2.1
  • Next by thread: Re: Linking debug/release app with debug/release framework?
  • Index(es):
    • Date
    • Thread