forked from mirrors/linphone-iphone
xcode: remove USE_APN_DEV and use it only in debug scheme
This commit is contained in:
parent
7583bb2b3f
commit
59030ec972
4 changed files with 5 additions and 9 deletions
|
|
@ -2013,7 +2013,7 @@ static int comp_call_state_paused(const LinphoneCall *call, const void *param) {
|
|||
// NSLocalizedString(@"IC_MSG", nil); // Fake for genstrings
|
||||
// NSLocalizedString(@"IM_MSG", nil); // Fake for genstrings
|
||||
// NSLocalizedString(@"IM_FULLMSG", nil); // Fake for genstrings
|
||||
#ifdef USE_APN_DEV
|
||||
#ifdef DEBUG
|
||||
#define APPMODE_SUFFIX @"dev"
|
||||
#else
|
||||
#define APPMODE_SUFFIX @"prod"
|
||||
|
|
|
|||
|
|
@ -174,7 +174,7 @@
|
|||
NSString *message = nil;
|
||||
LinphoneGlobalState gstate = linphone_core_get_global_state(LC);
|
||||
|
||||
if (!linphone_core_is_network_reachable(LC)) {
|
||||
if (gstate == LinphoneGlobalOn && !linphone_core_is_network_reachable(LC)) {
|
||||
message = NSLocalizedString(@"Network down", nil);
|
||||
} else if (gstate == LinphoneGlobalConfiguring) {
|
||||
message = NSLocalizedString(@"Fetching remote configuration", nil);
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>3.11</string>
|
||||
<string>3.12</string>
|
||||
<key>CFBundleURLTypes</key>
|
||||
<array>
|
||||
<dict>
|
||||
|
|
@ -53,7 +53,7 @@
|
|||
</dict>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>8</string>
|
||||
<string>1</string>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>UIApplicationExitsOnSuspend</key>
|
||||
|
|
|
|||
|
|
@ -4286,10 +4286,7 @@
|
|||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||
GCC_PREFIX_HEADER = linphone_Prefix.pch;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
USE_APN_DEV,
|
||||
DEBUG,
|
||||
);
|
||||
GCC_PREPROCESSOR_DEFINITIONS = DEBUG;
|
||||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
||||
GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES;
|
||||
GCC_TREAT_WARNINGS_AS_ERRORS = YES;
|
||||
|
|
@ -4463,7 +4460,6 @@
|
|||
GCC_OPTIMIZATION_LEVEL = s;
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||
GCC_PREFIX_HEADER = linphone_Prefix.pch;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = USE_APN_DEV;
|
||||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
||||
GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES;
|
||||
GCC_TREAT_WARNINGS_AS_ERRORS = YES;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue