On May 22, 2009, at 3:19 AM, Michael Crawford wrote: On Fri, May 22, 2009 at 12:54 AM, Paul Denlinger <email@hidden> wrote:
fatal error: can't get precompiled header var/folders/Ln/...
error: couldn't create directory /var/folders/ Ln/...
Paul,
My advice is to avoid using precompiled headers at all until you're completely certain of what you're doing.
Michael, I continue to wonder why you advise people to disable precompiled headers, when it's the default for every Xcode installation (and has been for most of the decade), and is used with a high degree of success by literally hundreds of thousands of Xcode developers?
We receive a fairly large number of bug reports, assistance requests, etc. every day, and the number of those that relate to precompiled headers is pretty close to zero.
There are definitely some advanced and/or fragile areas of Xcode that it's proper to warn newbies away from, but in our experience precompiled headers is not one of them. And instructing people to disable it is going to significantly increase their build turnaround time and reduce their productivity.
If you know of problems with precompiled headers in Xcode that would affect a significant number of users, please file bugs against Xcode so we can address it. We currently have no bugs in our queue, from you or anybody else, about precompiled headers not working. The only issues we know about are that they tend to be large and take up a lot of disk space, and that management of the disk cache could use some improvement, and that there are times where they seem to be rebuilt unnecessarily. If you have other demonstrable and significant issues, please file bugs rather than advise people to disable a useful and functional feature.
Chris |