In this case, you can use conditional compilation and check if you are in debug mode.
In the settings of your project, you had to define a preprocessor macro to indicate the debug assembly:

.
, :
NSString* platform = @"ios";
#if DEBUG
platform = @"ios_sandbox";
#endif
#if DEBUG #endif , DEBUG=1 ( ), platform ios ios_sandbox .