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.
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.