Projects fail to build
Projects fail to build
- Subject: Projects fail to build
- From: Doug Hill <email@hidden>
- Date: Tue, 26 Jan 2010 11:25:26 -0800
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)
- Linker will crash (similar issues)
- Xcode throws exceptions when the project is opened, with the Continue/Quit dialog. Usually complaining about a problem with a child container.
- 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.
These problems started happening when our product requirements changed so I started making changes to the Xcode projects in response. For example, changing the Base SDK to 10.5, changing the compiler to LLVM, adding source files, and other build changes. Now I'll get these build errors seemingly at random and at various times. For example, the Debug configuration may build correctly but not release. Then then it will randomly start building. Maybe building on an Intel machine will build both configurations but building on a PPC machine will give errors (same Xcode binaries I check out from source control on two machines). Sometimes doing changes one at a time and building each time will work but doing them all at once will fail.
I've noticed that using "Clean All" will not clean everything up. I sometimes have to trash the build folder and reboot to get rid of the temp directories to cause cause some of the problems to stop. But they never go away completely.
Finally, I have 6 projects with various kinds of dependencies. I've seen problems with 3 of them. So I'm guessing it's not random corruption. I can check out the original projects from source control before I made the above mentioned changes and they build with no problems. But once I start making changes things go badly. Nothing seems to make any sense and I've spent a week trying to get these projects building. My last resort is to trash the projects and start from scratch. But I don't know if there's something I'm doing that will cause problems with those new projects.
Does anyone have any ideas why these problems are happening? For example, the fact that I had Xcode 3.2 installed at one time but trashed it and went back to 3.1.4? I had similar crashing problems and the like when converting my Xcode 3.0/3.1 projects to 3.2 but trashed it and went back to 3.1.4. Now I'm having problems just using Xcode 3.1.4.
Thanks.
Doug Hill _______________________________________________
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