Xcode complains about this type of warning when it is confusing. What happens is that the project has more than one file with the same name, and Xcode does not know which one to compile.
Solution: Find the resource in Copy Bundle Resourcesand delete the duplicate entries.
Steps:
- Click the
Copy Bundle Resourceson tab Build Phases. - Find duplicate entries for the same files in this list.
- .