Post

Replies

Boosts

Views

Activity

Reply to Xcode 15: Multiple Commands Produce Duplicate Info.plist Error
You appear to be having the same problem I just started having with my Info.plist file. It looks to me like 2 processes in Xcode 15 are trying to generate the Info.plist file. One is generating it from scratch and the other is trying to copy it into the build bundle. Hence the two lines under the error message: Target "Restaurant Build" ...has copy command Target "Restaurant Build" .. has process command In Build Phases under Copy Bundle Resources I had an an entry for Copy Info.plist. I think that is the copy command. In Build Settings under Packaging Section there is a parameter to Generate Info.plist file. Mine was set to Yes. I think that is the process command. I got rid of the Copy Bundle Resources entry for Info.plist and the problem went away for me. I can also leave the Copy Bundle Resources entry for Info.plist and set Generate Info.plist to No. However that results in a different error - that there is no Info.plist for the bundle. I have some custom properties I need in the Info.plist so my preference is to get the system to recognize the copied Info.plist file. Still working on that. Hopefully this provides you some assistance. (I just started learning Xcode and Swift so take my information with a grain of salt. When I started learning computer programming in university, we used punch cards to program Fortan.)
Jun ’24