• 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: Run Script Build Phase & Linking
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Run Script Build Phase & Linking


  • Subject: Re: Run Script Build Phase & Linking
  • From: Eduard de Jong <email@hidden>
  • Date: Wed, 11 Jan 2006 12:32:42 -0800

Ok,

found out some more:
In a non-native target the build script is executed using the old 'Jambase" file which specifies that the script should be executed every time a target is rebuild. Xcode also doesn't bother to define the specified input and output files as parameters to invoking Jam, so the dependencies couldn't vene be analized...


For a native target, on the other hand a Jambase seems to be used that is build into Xcode. That is, i can see it calling the script differently, including specifing jam variables for script input files and script output files.

I have no time to test it, i assume changing the target to native could solve the problem...

Cheers
Edaurd

At 07:48 -0800 11-01-2006, Eduard de Jong wrote:
Hi,

just my 2c

i have, it seems, the same problem, a script phase with properly set up input and output files still gets executed each time, irrespective of the output being up-to-date...

Although, thinking of it, i use build settings (like DSTROOT) to specify part of the name of the input and output files, which may not be expanded properly when doing the dependency analysis...

One of the annoying effects of the script phase problem that seems related is that i need to build twice, the second time around the file generated the first time is properly incorporated in the rest of the build...

Eduard

At 11:59 -0800 05-01-2006, Gunnar Proppe wrote:
On Jan 4, 2006, at 1:22 PM, David Dolinar wrote:

Hi,

I have a project which links *every* *single* *time* I choose "Build & Run" regardless of if I have made changes or not. I have tracked down the cause of the excessive linking to a Run Script build phase which takes one input file and one output file. The script is ran EVERY TIME even though the output file has a newer modification date then the input file. As I understand it XCode should not be doing this. Is this a known bug or am I doing something wrong? Any help would be appreciated.


I had a similar problem with generated source files in a shell script build phase that used to work. Doing a Clean All fixed it for me (so far so good after a couple of days). If that doesn't work, try trashing the Build folder.


Gunnar
_______________________________________________
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


--
Eduard

	An optimist believes we live in the best of all possible worlds.
      	A pessimist fears this is true.

UK: +44 787 627 2204 USA: +1 650 703 4608(M)  NL: +31 62 669 2972(M),
_______________________________________________
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


--
Eduard

	An optimist believes we live in the best of all possible worlds.
       	A pessimist fears this is true.

UK: +44 787 627 2204 USA: +1 650 703 4608(M)  NL: +31 62 669 2972(M),
_______________________________________________
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: 
 >Run Script Build Phase & Linking (From: David Dolinar <email@hidden>)
 >Re: Run Script Build Phase & Linking (From: Gunnar Proppe <email@hidden>)
 >Re: Run Script Build Phase & Linking (From: Eduard de Jong <email@hidden>)

  • Prev by Date: Re: Pass a C option based on command-line output?
  • Next by Date: distributed builds between PPC and x86
  • Previous by thread: Re: Run Script Build Phase & Linking
  • Next by thread: Populating A Package's Library Folder
  • Index(es):
    • Date
    • Thread