Mar 19, 2010

(XCode) How to resolve "Warning: Multiple build commands for output file ..."

Just met a weird warning message in XCode which is "Warning: Multiple build commands for output file ..." after deleting a resource file, and i checked the file does not exist in resource folder any more, finally i found the the file did appear in "targets/app name/copy bundle resources/", than i figure out i accidentally pressed "Delete reference" when i delete the file, and that's why the resource file still exist in the "copy bundle resources" folder

2 comments:

muzammil said...

This warning only occurs when your resource folder contains same file name at different location. When you remove your one file. Warning will be remove.

muzammil said...

Simply remove your build folder or in XCode4 use Clean.