• 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
Problem with dependency checking in Run Script phase -- again
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with dependency checking in Run Script phase -- again


  • Subject: Problem with dependency checking in Run Script phase -- again
  • From: Adam Kocoloski <email@hidden>
  • Date: Wed, 1 Feb 2006 11:24:41 -0500

Hi,

I was browsing the archives and saw this thread:

http://lists.apple.com/archives/xcode-users/2005/Dec/msg00550.html

in which Yoav believed there was a problem with Xcode 2.2 checking the timestamps of the input and output files when it decides whether to execute a script. He found an error in his SCRIPT_INPUT_FILE variable, but I am still seeing the problem he wrote about.

I wrote a script to wipe $TARGET_BUILD_DIR in my Development configuration before each rebuild. I do this so that if I change the names of the files I include in my Copy Files build phase I won't have any junk left over. My input and output files are

input:  $(SRCROOT)/$(TARGET_NAME).cpp
output: $(TARGET_BUILD_DIR)/$(TARGET_NAME)

I've checked that these resolve correctly when the script sets environment variables, and I've checked that input_timestamp < output_timestamp. Unfortunately, the script runs every time I build, even if I haven't touched the source. Annoying. Anyone else experience this problem?

Adam Kocoloski

_______________________________________________
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: Problem with dependency checking in Run Script phase -- again
      • From: Adam Kocoloski <email@hidden>
  • Prev by Date: RE: New .cpp not picking up .pch includes
  • Next by Date: Re: Problem with dependency checking in Run Script phase -- again
  • Previous by thread: Re: Unexported Symbols File and _ppc & _i386?
  • Next by thread: Re: Problem with dependency checking in Run Script phase -- again
  • Index(es):
    • Date
    • Thread