Xcode Multiple build commands for output file

Tue, 02/21/2012 - 09:38 -- jeff

Xcode throws the error, "Xcode Multiple build commands for output file" when the same file is listed more than once in the following place.

  1. Select Targets -> [your app] -> Build Phases
  2. Expand "Copy Bundle Resources"
  3. At the top right of this pane, there is a searchable field. Type the offending file here.
  4. Remove extra references to the file by using the "-" minus sign. (you only need one)

That's it!

Clean and build.

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.