Search code examples
iosios7asset-catalog

Asset Catelog issue with multiple targets


I have a project with multiple targets. Assume the targets are named Target-A, Target-B and so on. For every target I have a different asset catalog of App Icons. They are named as AppIcon - A, AppIcon - B and it goes on for all the targets. I have assigned respective asset catalogs to all targets, but it only shows the icons for Target-A when i run on the device / simulator. For all other targets it does not set any icons and shows iOS 7 default placeholder icon. Please help!


Solution

  • When you are adding the app icon image please note while adding app icon-1 to Test target then select only test target not Test copy target same for Test copy target.

    enter image description here

    Also add row for "Icon file" in both the plist and specify your app icon names.

    enter image description here

    enter image description here

    Please check following screen shots you will get some ideas.

    enter image description here

    enter image description here