xcodeproj: use debug remote push notification when building Release so that it can works with Crashlytics

This commit is contained in:
Gautier Pelloux-Prayer 2015-07-09 14:34:22 +02:00
parent cf6df33919
commit 1c7882d4b4
2 changed files with 4 additions and 2 deletions

View file

@ -1635,7 +1635,7 @@ static int comp_call_state_paused(const LinphoneCall *call, const void *param) {
LinphoneCall *currentCall = linphone_core_get_current_call(theLinphoneCore); LinphoneCall *currentCall = linphone_core_get_current_call(theLinphoneCore);
const MSList *callList = linphone_core_get_calls(theLinphoneCore); const MSList *callList = linphone_core_get_calls(theLinphoneCore);
if (!currentCall // no active call if (!currentCall // no active call
&& callList // at least one call in a non active state && callList // at least one call in a non active state
&& ms_list_find_custom((MSList *)callList, (MSCompareFunc)comp_call_state_paused, NULL)) { && ms_list_find_custom((MSList *)callList, (MSCompareFunc)comp_call_state_paused, NULL)) {
[self startCallPausedLongRunningTask]; [self startCallPausedLongRunningTask];
} }
@ -1991,7 +1991,7 @@ static void audioRouteChangeListenerCallback(void *inUserData, // 1
} }
// NSLocalizedString(@"IC_MSG", nil); // Fake for genstrings // NSLocalizedString(@"IC_MSG", nil); // Fake for genstrings
// NSLocalizedString(@"IM_MSG", nil); // Fake for genstrings // NSLocalizedString(@"IM_MSG", nil); // Fake for genstrings
#ifdef DEBUG #ifdef USE_APN_DEV
#define APPMODE_SUFFIX @"dev" #define APPMODE_SUFFIX @"dev"
#else #else
#define APPMODE_SUFFIX @"prod" #define APPMODE_SUFFIX @"prod"

View file

@ -4558,6 +4558,7 @@
HAVE_SILK, HAVE_SILK,
HAVE_SSL, HAVE_SSL,
DEBUG, DEBUG,
USE_APN_DEV,
); );
GCC_SYMBOLS_PRIVATE_EXTERN = NO; GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES; GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES;
@ -4732,6 +4733,7 @@
VIDEO_ENABLED, VIDEO_ENABLED,
HAVE_SILK, HAVE_SILK,
HAVE_SSL, HAVE_SSL,
USE_APN_DEV,
); );
GCC_SYMBOLS_PRIVATE_EXTERN = NO; GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES; GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES;