configuration - Swift - How to set up config variables for multiple targets in XCode Project -


i'm starting white label app use many clients (targets). targets share functionalities have different values global variables such services urls, names, cosmetics, etc.

in obj-c use constants.h file each target , #macros since project swift 3 native don't know best approach.

if use different .plist files each target, have redefine settings manually prefer stay same between targets cfbundleversion, permissions, etc.

in these configurations need set arrays , dictionaries don't know if using .xconfig files best approach either.

so, if has faced similar in swift , can explain approach appreciated.


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -