• 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: touching files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: touching files


  • Subject: Re: touching files
  • From: Niels Bogaards <email@hidden>
  • Date: Tue, 28 Feb 2006 15:47:36 +0100

At 7:32 -0800 24-2-06, Chris Espinosa wrote:
On Feb 24, 2006, at 2:43 AM, Niels Bogaards wrote:

I don't understand the Touch function you find in the contextual menu for project files. As far as I understood touch, it should tell the IDE that at least that file needs to be recompiled (and it should be smart enough to notice that files that include the touched file also are dirty). However, in XCode (2.2.1) I can touch as much as I want, but only actually modifying the file will trigger a recompile.


If the Touch command isn't working for you, please file a bug with specific steps of how you're trying to use it. Note that currently Touch only works with source files, not headers, resources, etc. that may be processed by Xcode, but not compiled by gcc.

ok, I didn't know that. It would be really useful to be able to touch header files.



Is there another way to signal to XCode a file needs to be compiled? (and ofcourse I don't really want to be touching files by hand, but XCode often misses dirty files when they are updated from cvs)


It's possible that if your SCM operation is restoring the file to a version that has a timestamp earlier than the last successful build, then that might clear the dirty flag and cause what you're seeing. But step-by-step instructions on how to reproduce would be a great help.

well, actually it is quite simple. I have my project open, maybe 1000 files in it, and three targets. I change a header file. Since I can't touch a header, I touch the fiel that includes it. I hit Build, XCode spends a minute or so Checking Dependencies and then says "Build succeeded". No compiles, no linking. It doesn't work on any of my computers.


Niels

_______________________________________________
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: 
 >touching files (From: Niels Bogaards <email@hidden>)
 >Re: touching files (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Looking for XCode Developer in Austria
  • Next by Date: Re: Xcode Glitch
  • Previous by thread: Re: touching files
  • Next by thread: documentation keywords in pblangspec
  • Index(es):
    • Date
    • Thread