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 -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -