Warning: Multiple build commands for output file /Users/nroldos/Library/Developer/Xcode/DerivedData/artistreeApp-fnivhzlzlmkerwhdwwfnelzldkqx/Build/Products/Debug-iphonesimulator/artistreeApp.app/[email protected]
Warning: Multiple build commands for output file /Users/nroldos/Library/Developer/Xcode/DerivedData/artistreeApp-fnivhzlzlmkerwhdwwfnelzldkqx/Build/Products/Debug-iphonesimulator/artistreeApp.app/[email protected]
And so on...
Anybody know what these warnings mean? I would try to explain this more but I don't have a clue where these multiple build commands come from. I have only one view controller where I call for these .png files
Xcode complains with this type of warning when it is confused. What happens is that project has more than one files with the same name and Xcode doesn't know which one to compile.
Solution: Search for the resource under Copy Bundle Resources
and remove the duplicate entries.
Steps:
Copy Bundle Resources
on Build Phases
tab.Open the Copy Bundle Resources on Build Phases tab. Find duplicate entries of the same files in that list and Delete the duplicate references.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With