Xcode: the application icon is always in the root directory of the project

When I drag application icons to the summery project in Xcode, it copies the icons to the root directory of the projects. Is it possible to put icons in another directory inside the project?

+4
source share
2 answers

There are two ways to do this ...

  • You can manually record in the projectName-info.plist file in the key icon files. Icon files are the array in this array that you add ie Item 0, and the value should be your image file name.

  • Just name the icon image on "icon.png" and include it in your project (anywhere). Xcode will take care of this.

+2
source

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

+1
source

Source: https://habr.com/ru/post/1488244/


All Articles