I am encountering a persistent issue in Xcode 15 where multiple commands produce a duplicate Info.plist error. The specific error message is:
M
u
ltiple commands produce '/Users/josephnicholas/Library/Developer/Xcode/DerivedData/Restaurant_Build-bapndkzqxdjxxbacjwattbpeqof/Build/Products/Debug-iphoneos/Restaurant Build.app/Info.plist':
Target 'Restaurant Build' (project 'Restaurant Build') has copy command from '/Users/josephnicholas/Desktop/backups/Restaurant Build/Supporting Files/Info.plist' to '/Users/josephnicholas/Library/Developer/Xcode/DerivedData/Restaurant_Build-bapndkzqxdjxxbacjwattbpeqof/Build/Products/Debug-iphoneos/Restaurant Build.app/Info.plist'
Target 'Restaurant Build' (project 'Restaurant Build') has process command with output '/Users/josephnicholas/Library/Developer/Xcode/DerivedData/Restaurant_Build-bapndkzqxdjxxbacjwattbpeqof/Build/Products/Debug-iphoneos/Restaurant Build.app/Info.plist'
Despite following numerous troubleshooting steps, including deleting the Info.plist file, cleaning the build folder, and creating a new project from scratch, the issue persists. I have ensured the Info.plist path is correctly set in the Build Settings under Packaging, and verified the file's target membership. However, the error remains unresolved.
Here is a detailed list of the steps I have taken:
Deleted the Derived Data multiple times.
Restarted Xcode.
Deleted the Info.plist file and re-added it through File > New File.
Created a new project and manually copied all the files.
Verified the Info.plist path and target membership.
Followed suggestions from various forums, including adjusting paths and cleaning the build folder.
Unfortunately, these steps have not resolved the issue. Attached are screenshots detailing the error messages and my current project setup.
I would greatly appreciate any insights or solutions to this problem.
Topic:
Developer Tools & Services
SubTopic:
Xcode