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

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