• 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: How to run a script before and after a build?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to run a script before and after a build?


  • Subject: Re: How to run a script before and after a build?
  • From: Jonas Maebe <email@hidden>
  • Date: Thu, 19 Oct 2006 16:28:57 +0200


On 19 okt 2006, at 16:11, leenoori wrote:

I think the solution in this case is actually to make a separate target that contains only a shell script build phase. In the separate target's shell script you make whatever modifications you want (in this case, deleting a resource file). You then make that target a dependency for the other target. In this way the resource file is guaranteed to be deleted before the dependency analysis is undertaken when building the main target.

That is correct. I also ran into the same problem when having a shell script phase in the same target as my other phases.



Jonas _______________________________________________ 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: 
 >Re: How to run a script before and after a build? (From: Marc Epard <email@hidden>)
 >Re: How to run a script before and after a build? (From: leenoori <email@hidden>)

  • Prev by Date: Re: How to run a script before and after a build?
  • Next by Date: Why isn't this info.plist file being read??
  • Previous by thread: Re: How to run a script before and after a build?
  • Next by thread: Re: How to run a script before and after a build?
  • Index(es):
    • Date
    • Thread