Reputation: 2568
I have to white label an iOS app but I can't figure out the best approach for that.
I know that Android has "Product Flavors" that allows you to customize an app and create many versions of it in the same project.
I didn't find a builtin solution for do the same in an iOS project.
My project uses Fabric, Branch.io and other libraries that requires custom configurations for each white label app.
In this case, should I just create a branch and work on it or there is a better approach similar to Flavors in Android?
Upvotes: 2
Views: 1737
Reputation: 1370
Apple will now reject all white label apps, see this : https://blog.summitsync.com/did-apple-just-crush-white-label-apps-4aee14d00b78
Upvotes: -2
Reputation: 571
Use different Targets to break up the different "favours".
Another thing to consider is using .xcassets and adding them to the different targets for the different images use in the app
And finally look into .xcconfig if you want different variables across your app. Using GCC_PREPROCESSOR_DEFINITIONS will be necessary for this
Upvotes: 3