There is one way to use it for my projects. Here are the steps.
In Xcode, go to the project settings (project, not goals) and add the beta configuration to the list:

Then you need to create a new scheme that will run the project in the beta configuration. To create a diagram, go here:

Name this circuit as you like. You must edit the settings for this scheme. To do this, click here:

Select the Archive tab in which you can choose Build configuration

Then you need to add the Config key with the value $(CONFIGURATION) list of properties of the project information, for example:

Then this is just a question of what you need in the code to do something specific for the beta build:
let config = Bundle.main.object(forInfoDictionaryKey: "Config") as! String if config == "Debug" { // app running in debug configuration } else if config == "Release" { // app running in release configuration } else if config == "Beta" { // app running in beta configuration }
Klemen Zagar Feb 16 '17 at 12:55 on 2017-02-16 12:55
source share