Reputation: 3441
I have an Xcode project and i want to change AppName,App Icon some images and others string, based on selected build at run time.
I want build configuration in 4 different names. Please suggest me, is it possible to do all build configuration in same project or create different project for different build.
Thanks!
Upvotes: 1
Views: 821
Reputation: 2189
Friend you need to create multiple targets of your application. Follow follwing links,
http://www.appcoda.com/using-xcode-targets/
https://stackoverflow.com/a/11473464/4294543
http://www.folio3.com/blog/using-multiple-targets-in-xcode/
For changing app name
You can change it by multiple ways,
Go to Project navigator > Select target > Go to general > Display name
Or
You can change it from Project navigator > Select target > Build Settings >
Product Name
For Different xcassets & appIcon for each target
Add new file > Asset Catalog > Give Name & don't forget to select for which target you want to add from bottom
Upvotes: 1