1

Is it possible to have a warning if image literals are used but the associated images no longer exist?

i.e. if the image has been removed or renamed etc...

Fogmeister
  • 76,236
  • 42
  • 207
  • 306
  • 2
    That's a good question... One possible solution would be a script in the build phase that matches `#imageLiteral` calls against the contents of the assets folder, but I would love to know as well if a proper solution exists (like a flag in the build settings for example)... – Alladinian Jul 25 '17 at 12:28
  • @Alladinian I had a look through the build settings and tried a few of them that looked like they might work but nothing seemed to do it. – Fogmeister Jul 25 '17 at 12:50

0 Answers0