iphone: Use different icons with different build targets?

Alex1987 picture Alex1987 · Jun 9, 2011 · Viewed 7.5k times · Source

Right now I have a regular iphone app with unique springboard icon and splash screens. Now I want to create basically the same app with minor changes - and this app will have a different name, different springboard icon and different splash screens. So basically what I did now was to duplicate the original build target - but how do I add another icon.png to my project and tell XCode to use the relevant icon for each build? And what about the splash screens?

Answer

rizzes picture rizzes · Oct 20, 2014

Xcode 6 – Xcode 9

  1. Go to images.xcassets and click the plus button to create a new app icon. You should have one app icon set for each build.
  2. Go to project -> build settings and search for "asset catalog app icon set name". In each of your targets, change the name of the app icon set name to match the names you entered in step 1.