Quote:
Originally Posted by Shmoopi
That's very interesting. I've been using this check for a while and have never had that happen before. That's also very odd considering the application's main file is created at the same time as the PkgInfo file.
*Update
I just checked a couple of my apps to see if the timestamps mix-match, and they did. It just so happens that if you build at the end of a minute, say you do a clean build at 5:14 and it finishes building at 5:15, the timestamps on the first couple files and the last couple files are different. You're absolutely right, I'll update the tutorial with this comment. If anyone is having trouble with this code sample, try building at the beginning of a minute. Thanks for catching that!
|
Maybe what we should do is check if the absolute value of the difference between the two dates is greater then say 10 minutes.