Wednesday, August 8, 2012

Multiple build commands for output file

This is easily caused when you add git based subprojects. Xcode isn't smart enough to ignore the .git subfolder even though you can't see it from finder, so it will get very confused that there are multiple files named "master" or "exclude", (standard git repo files). With Xcode4, go to the project (root of the left tree) then click your app target and expand "Copy Bundle Resources", then remove all the references to .git, you shouldn't need them baked into your app anyway.

source: http://stackoverflow.com/questions/2718246/xcode-strange-warning-multiple-build-commands-for-output-file
keywords: Multiple build commands for output file

No comments:

Post a Comment