Multiple commands produce iOS Origin: On your device Last updated 14 Oct 2026

Xcode: Multiple commands produce '…/Info.plist' (or another file)

Two build steps write the same output file — usually Info.plist or an asset added to “Copy Bundle Resources”, or duplicate files across targets/pods.

Exact message you may see Multiple commands produceduplicate output file
Seen on: iOS

Meaning

The new build system refuses ambiguous outputs. The message lists both producing commands, which points at the duplicate.

Common causes

  • Info.plist listed in Copy Bundle Resources
  • Two files with the same name (e.g. two README.md or LICENSE in resources)
  • Pods and the app both bundling the same resource
  • Duplicate target membership

⚡ Quick fix

  1. Remove Info.plist from Build Phases → Copy Bundle Resources
  2. Remove or rename duplicate resource files
  3. Check target membership of the named files

Detailed fix by platform

iOS

  1. Open Build Phases → Copy Bundle Resources, search for the file name from the error and remove the duplicate entry. For pods, pod deintegrate && pod install can clear stale script outputs.

How to diagnose

  1. File — Which output path is named?
  2. Producers — Which two commands produce it?
  3. Resources — Duplicates in Copy Bundle Resources?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: On your device. Errors that are often confused with or caused by this one (click to open):

CocoaPods compatible versions — CocoaPods could not find compatible versions for pod (iOS)CocoaPods compatible …PhaseScriptExecution — Xcode: Command PhaseScriptExecution failed with a nonzero exit code (iOS)PhaseScriptExecutionMultiple …

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.