After upgrading to xCode 4.3 today I can't build or run one of my 3.2.5 projects because of the following build error:
CpResource Classes/../iTunesArtwork /Users/glen/Library/Developer/Xcode/DerivedData/Project-bfsepykuktirdfeuvqhjyyiuhqii/Build/Products/Debug-iphonesimulator/Project.app/iTunesArtwork cd /Users/glen/Dev/Project/trunk setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip /Users/glen/Dev/Project/trunk/Classes/../iTunesArtwork /Users/glen/Library/Developer/Xcode/DerivedData/Project-bfsepykuktirdfeuvqhjyyiuhqii/Build/Products/Debug-iphonesimulator/Project.app
error: /Users/glen/Dev/Project/trunk/Classes/../iTunesArtwork: No such file or directory
There are a few mentions of this error around the internet, most of them referring to Ad Hoc builds and adding application icons post-build.
As suggested here, I've tried adding iTunesArtwork as a resource to the top level of the project as a 512x512png, which gives a build warning stating:
Check dependencies
Warning: Multiple build commands for output file /Users/glen/Library/Developer/Xcode/DerivedData/Project-bfsepykuktirdfeuvqhjyyiuhqii/Build/Products/Debug-iphonesimulator/Project.app/iTunesArtwork
followed by the early failure error. I know I have to get rid of this reference to iTunesArtwork somehow, but I'm not sure where to start looking or where this error is stemming from.
I am using a local svn repository from which I imported the project, which I haven't used with xCode 4, which might be part of the problem, but I'm not sure.
I am attempting to build using the iOS 5 SDK for the first time.
Solved.
The problem was that some files, including iTunesArtwork, didn't come across properly from the repository. I found the references to these files and removed them, and built successfully.