Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with dependency checking in Run Script phase -- again



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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.