0

It's not a fatal one, it's just irritating me. My error message is here:

Warning: Multiple build commands for output file /Users/benjaminkelsey/Library/Developer/Xcode/DerivedData/App_Name-cssewxhpqzfzqsbdkukoihlpvbqc/Build/Products/Debug-iphoneos/App Name.app/.jpg

1 Answer 1

2

Inspect your app target's Build Phases to see what's gone wrong. Perhaps a file is listed multiple times. Also, the name looks as if you've made some mistake; the file has no name apart from its extension.

Sign up to request clarification or add additional context in comments.

4 Comments

The problem is that my app has about 8,000 images... I don't know how to check each and every single one for a duplicate.
That is a problem, and is likely how you got yourself into this situation. Are all those images just sitting there at the top level of the app bundle? That's not a good architecture... Sounds like some reorganization is needed here.
No, they are in folders. But when I go to Build Phases > Copy Bundle Resources, they are all sitting there together with no folders.
They are not in folders, then. They are in groups, but groups are not folders - they are not anything real. If you want them to be in folders in the app bundle, you should make these groups folder references — but then you will have to give the folder name when you fetch an image. As I said, this will take some reorganization, including some modification of your code; but I think that would be a good thing in the long run. 8000 images at the top level of an app bundle is just wrong.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.