0

I have a set of variables that changes depending on the environment (debug and release) in which it is running.

I have created three xcconfig files (common, debug and release), see below the content from each file.

Common.xcconfig

BACKEND_URL = https:\/\/www.mydomain.com.br\/api\/v1\/test

Debug.xcconfig

#include "Common.xcconfig"

BACKEND_URL = http:\/\/10.32.112.107:8080\/api\/v1\/test

Release.xcconfig

#include "Common.xcconfig"

I would like to display on the screen the contents of the variable according to the environment and I do not know where to configure in the build to use these files.

Luciano Borges
  • 817
  • 3
  • 12
  • 31

0 Answers0