4

When I drag and drop the app icons to the project summery in Xcode, it copies the icons to the projects root directory. Is there a possibility to put the icons in another directory inside the project?

Hans One
  • 3,329
  • 27
  • 28

2 Answers2

2

There are two ways to do it...

  1. You can manually do an entry in projectName-info.plist in the key Icon files, Icon files is an array in this array one item you add i.e. Item 0 and the value should be your image file name.

  2. Just name your icon image to "icon.png" and include it in your project(anywhere you want). Xcode will take care of it.

Suryakant Sharma
  • 3,852
  • 1
  • 25
  • 47
1

No, the compiler requires them to be in the root directory.

borrrden
  • 33,256
  • 8
  • 74
  • 109