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
Post a Comment