• 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: Projects fail to build
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Projects fail to build


  • Subject: Re: Projects fail to build
  • From: Chris Espinosa <email@hidden>
  • Date: Tue, 26 Jan 2010 17:19:18 -0800

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

 _______________________________________________
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

  • Follow-Ups:
    • Re: Projects fail to build
      • From: Doug Hill <email@hidden>
References: 
 >Projects fail to build (From: Doug Hill <email@hidden>)

  • Prev by Date: Re: what's with the admin privilege business
  • Next by Date: Re: Xcode won't help debug anymore
  • Previous by thread: Re: Projects fail to build
  • Next by thread: Re: Projects fail to build
  • Index(es):
    • Date
    • Thread