"Multiple Commands Produce Info.plist" error in Xcode 15

I keep on getting the same error when trying to build my project. It seems to stem from a problem that I am having entering the path to the info.plist file in packaging/build settings. I have repeatedly tried to install the proper path as "$(SRCROOT)/Main Project Group/Info.plist", yet as soon as I hit return, the path reverts to "/Users/josephnicholas/Documents/dEATour/Xcode/dEATourSunday/Main Project Group/Info.plist" and I get the following error when I clean/build the project: "/Users/josephnicholas/Documents/dEATour/Xcode/dEATourSunday/dEATourSunday.xcodeproj One of the paths in DEVELOPMENT_ASSET_PATHS does not exist: /Users/josephnicholas/Documents/dEATour/Xcode/dEATourSunday/dEATourSunday/Preview Content". I have deleted the info.plist file and reinstalled it, I have even started a new project this morning, transferring all of my files. I cannot figure out how to prevent the path in 'packaging' from reverting back to the absolute path and throwing this error out.
I'd really appreciate any help anyone can offer. Thanks.

Answered by darkpaw in 788075022

Are you actually entering $(SRCROOT)/Main Project Group/Info.plist? If so, that's wrong. The parentheses should be curly braces, i.e.: ${SRCROOT}/Main Project Group/Info.plist.

I'm sorry, here is the specific wording of the error: /Users/josephnicholas/Documents/dEATour/Xcode/dEATourSunday/dEATourSunday.xcodeproj One of the paths in DEVELOPMENT_ASSET_PATHS does not exist: /Users/josephnicholas/Documents/dEATour/Xcode/dEATourSunday/dEATourSunday/Preview Content

I've removed "Info.plist" from the 'Copy Bundle Resources section', I've deleted Derived Data and I've Cleaned the build folder, and still have the same problem. The Specific working of the error is "/Users/josephnicholas/Documents/dEATour/Xcode/dEATourSunday/dEATourSunday.xcodeproj One of the paths in DEVELOPMENT_ASSET_PATHS does not exist: /Users/josephnicholas/Documents/dEATour/Xcode/dEATourSunday/dEATourSunday/Preview Content"

Accepted Answer

Are you actually entering $(SRCROOT)/Main Project Group/Info.plist? If so, that's wrong. The parentheses should be curly braces, i.e.: ${SRCROOT}/Main Project Group/Info.plist.

"Multiple Commands Produce Info.plist" error in Xcode 15
 
 
Q