• 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: Timing of Build Phases
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Timing of Build Phases


  • Subject: Re: Timing of Build Phases
  • From: Jens Miltner <email@hidden>
  • Date: Fri, 25 Jan 2008 11:21:32 +0100


Am 25.01.2008 um 03:08 schrieb David Dunham:

I think I'm running into a race condition with building my app.

I've got some folder references that end up being copied into the Resources folder of the application bundle. However, Xcode doesn't know when files in those folders change, so it doesn't update them. In an attempt to work around this, I've added a Run Script build phase that deletes them. This is the first build phase. But it seems like sometimes Xcode doesn't notice that a folder needs replacing.

Is there a way to synchronize this? Alternately, is there a better way to get Xcode to update bundle resource folders that get copied?

I had this issue in a couple of projects and my solution was to factor out the resource file/folder generation into a separate target and make the main target depend on this new target.


HTH
</jum>

_______________________________________________
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: 
 >Timing of Build Phases (From: David Dunham <email@hidden>)

  • Prev by Date: Re: Why does API search for "USBDeviceOpen" return no results?
  • Next by Date: Januar Xcode Documentation update always shows TOCs?
  • Previous by thread: Timing of Build Phases
  • Next by thread: Re: Timing of Build Phases
  • Index(es):
    • Date
    • Thread