On Jan 26, 2010, at 11:25 AM, Doug Hill wrote: I'm writing because I've been having nothing but troubles with getting my Xcode projects to build. I'm getting so many strange errors it's freaky: - Compiler will crash (bus error or other errors)
This is fairly to very rare. Which compiler? Crashes building what? (ObjC, C++, ...?) - Linker will crash (similar issues)
This is extremely rare. - Xcode throws exceptions when the project is opened, with the Continue/Quit dialog. Usually complaining about a problem with a child container.
Could imply project-file corruption. Does rolling back to an earlier project version in your repository fix this?
I hope you've filed crash reports on all of these. (Nothing with your name on it jumps out at me at the moment.) - Random problems like this one: "duplicate symbol SomeSymbolOrAnother() in /tmp/lto.o and /Path/To/My/Build/Folder/build/ProjectName.build/Release/ProjectName.build/Objects-normal/ppc/sourcefilename.o" This will just pop up randomly after building previously.
Are you aware of anything in your project intentionally building into /tmp ? Because Xcode doesn't. /tmp is not a particularly useful place to use for an intermediates directory, for a couple of reasons.
One thing, and this is experience, not buck-passing: if you are having sudden, pervasive, and mysterious errors in a number of subsystems, check your RAM. Xcode is a memory-intensive, processor-intensive app that pushes system memory to limits that other apps don't. If you have borderline flaky system RAM, an overheating machine, etc. the problem will show up as random crashes during building way before you notice it in, say, reading email or browsing the Web.
Crash logs and build transcripts attached to bugs are much more helpful to us to help you diagnose odd cases like this.
Chris
|