something that's probably easy to fix but it's driving me crazy

hy! apple developer community! No, I have a problem that's driving me crazy: Multiple commands produce '/Users/giulia/Library/Developer/Xcode/DerivedData/ScheduledStudy-dcmmhcdncitvfkdditbjoipfalqg/Build/Products/Debug-iphonesimulator/singintestwidgetExtension.appex/Info.plist'. Can you help me fix it? I know it's probably stupid, but I've been trying to fix it for days. There aren't two info.plist file, and that's why I don't quite understand. If you could help me, you'd be doing me a favor. Thanks for your time. P.S. I'm sorry, but I'm just starting out with programming and I'm also quite young.

Welcome to the forum.

Is it just a warning or does it stop compiling and build ?

If just a warning, you can ignore. There are 2 libraries that propose the same function.

You may however try a clean build folder (Product menu) to clean derived data.

If you are in debug mode, change to release mode, to see what happens. To change mode: Edit Scheme…

One of your targets is likely including the Info.plist file in the "Copy Bundle Resources" step.

  • Select your project in the project viewer. It's the first item at the top, with the little blue icon.
  • Select your main iOS target under the TARGETS section.
  • In the big main pane, select the Build Settings tab.
  • In the search field in the top-right, enter "info", then scroll down to the Packaging section. You likely have "Generate Info.plist file" set to Yes. This is fine, leave it as it is.

For each target you have (you may have only one):

  • Select the target from the TARGETS section.
  • In the big main pane, select the "Build Phases" tab.
  • Expand the Copy Bundle Resources item.
  • If "Info.plist" is listed there, remove it. (Do not remove InfoPlist.strings!)

Hope this helps.

@darkpaw: I have effectively noted that Xcode 26 automatically adds this copy from time to time. I now know this reason, the YES.

I did it for both targets... and thank you! It's fixed!

@GGdev26 My suggestion? If so, please accept it as the answer so that others know there's a solution to this problem. Thanks!

something that's probably easy to fix but it's driving me crazy
 
 
Q