XCode 16: Multiple commands produce '{Path}Info.plist'

Hey guys, so I've read a lot of previous issues opened before opening this one, and I am doing it because none of the info found solved my problem.

So, I am trying to build my app which it has a custom Info.plist file. But i keep getting the issue of multiple command when trying to build. Here is how it;s configured:

  • Info.plist has the target membership correct
  • Build Setting is set to 'NO' under "Generate Info.plist File"
  • The path is correct, in the same folder as the ContentView

And here is what I've already tried to fix the issue:

  • Check in Build Phases if the wasn't a duplication: There isn't
  • Removing the Info.plist from the "Copy Bundle Resources": When I do this, than I get another issue which is "Build input file cannot be found. Did you forget to declare this file as an output of a script phase or custom build rule which produces it?"
  • Switching the Build to Legacy Build System: Nothing changed
  • Deleting the manually created Info.plist file and changing the Build Settings to 'YES' under "Generate Info.plist File": I get the same issue "Build input file cannot be found. Did you forget to declare this file as an output of a script phase or custom build rule which produces it?"
  • Deleted the Derived Data multiple times
  • Deleted the Info.plist file and re-added it through File > New File

Anyway, this is my last resource to find some help here in the forum. Any insight is valid

P.S: XCode version 16.1

Removing the Info.plist from the "Copy Bundle Resources":

Xcode copies the Info.plist from your project into the compiled bundle before code signing the bundle. Hence, you shouldn't add the file to your Copy Bundle Resources build phase nor make it a target member.

Build Setting is set to 'NO' under "Generate Info.plist File"The path is correct, in the same folder as the ContentView

Do you mean that the Info.plist File build setting contain the proper path to your Info.plist in the Build Settings pane? Navigate to that path and confirm that your Info.plist does reside at that location. If your issue persists, please post a screenshot of the Packaging section in the Build Settings pane of the target building your app.

XCode 16: Multiple commands produce '{Path}Info.plist'
 
 
Q