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?
Xcode 6 – Xcode 9
Every target will have a different info.plist file
In this file you can specify icon, splash screens, displayed name ...
It is not necessary to drag your iconfiles to the helpareas on the summary of the target. Just name the files correctly (Icon.png, [email protected] etc.) and add them as resources in your project and make sure to only add them to the bundle of the target they are needed in, and they will be used automagically.
You could create two sets of iconfiles, and when dragging them into your project uncheck the boxes for the targets they are not used in.
Ok I found the answer and it's rather simple. As I already mentioned I duplicated the target that I have - and changed the product name. Then there is the tricky part with the app icon and the splash screen. What I basically did was to delete these files from the project folder and move them to an external folder. Then I would create another external folder for images of the new target. Then I would add references of the images (very important not to copy them!) to the project for each build.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With