• 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
How to copy correct framework for build configuration?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to copy correct framework for build configuration?


  • Subject: How to copy correct framework for build configuration?
  • From: Rippit the Ogg Frog <email@hidden>
  • Date: Thu, 06 Jul 2006 11:37:04 -0300

I'm writing an application that has a couple private frameworks. I'm trying to automate my build, and have been struggling with the following question for days. I have Read The Fine Manual, sought friendship with Google, and searched many a mailing list archive, all to no avail. I am very frustrated.

I have a Copy Files build phase that copies my two frameworks into my application's bundle. But I can only copy my Release frameworks into both the Debug and Release builds, or I can copy the Debug frameworks into both the Debug and Release builds, but I cannot copy the Release frameworks into the Release app while copying the Debug frameworks into the Debug app.

Surely this must be a very common operation, but no amount of searching online has given me a clue. An Apple employee gave a suggestion on the Carbon-Dev list but it turned out not to work.

In a release note somewhere I found that it was necessary to have all the build products share the same build folder, so I've done that: I have a Release folder with my app and two frameworks, and a Debug folder with my app and two frameworks.

But the path of the item in the Copy Files phase is hard-coded with the name of the folder that holds it; that is, rather than the path being set relative to its destination, the name of the Debug or Release folder appears explicitly.

I'm not able to find a way to set up separate Copy Files phases for the different build configurations.

Please help me.  I'm using XCode 2.3 on a MacBook Pro running 10.4.6.

I am grateful for any help you can give me.

Rippit the Ogg Frog
email@hidden
http://www.oggfrog.com/
_______________________________________________
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: How to copy correct framework for build configuration?
      • From: Scott Tooker <email@hidden>
  • Prev by Date: RE: Xcode and external bundles
  • Next by Date: Corrupt project file?
  • Previous by thread: NSTextField performance [was: Xcode + Leopard at WWDC this year]
  • Next by thread: Re: How to copy correct framework for build configuration?
  • Index(es):
    • Date
    • Thread