From 1581f95bcff2328b19c5f47b705c42872f7f6da8 Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Wed, 7 Sep 2016 14:25:17 +0200 Subject: [PATCH] xcode: fix some crash and bump v3.14 build 1 --- Classes/LinphoneCoreSettingsStore.m | 2 +- Classes/LinphoneUI/UIContactCell.m | 4 ++++ linphone-Info.plist | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Classes/LinphoneCoreSettingsStore.m b/Classes/LinphoneCoreSettingsStore.m index 0f00cebab..6f436e9e2 100644 --- a/Classes/LinphoneCoreSettingsStore.m +++ b/Classes/LinphoneCoreSettingsStore.m @@ -327,7 +327,7 @@ if (minPort != maxPort) [self setObject:[NSString stringWithFormat:@"%d-%d", minPort, maxPort] forKey:@"video_port_preference"]; else - [self setObject:[NSString stringWithFormat:@"%d", minPort] forKey:@"video_port_preference"]; + [self setInteger:minPort forKey:@"video_port_preference"]; } [self setBool:linphone_core_ipv6_enabled(LC) forKey:@"use_ipv6"]; LinphoneMediaEncryption menc = linphone_core_get_media_encryption(LC); diff --git a/Classes/LinphoneUI/UIContactCell.m b/Classes/LinphoneUI/UIContactCell.m index 78a49ad27..d8949f1e0 100644 --- a/Classes/LinphoneUI/UIContactCell.m +++ b/Classes/LinphoneUI/UIContactCell.m @@ -52,6 +52,10 @@ return self; } +- (void)dealloc { + [NSNotificationCenter.defaultCenter removeObserver:self]; +} + #pragma mark - Notif - (void)onPresenceChanged:(NSNotification *)k { diff --git a/linphone-Info.plist b/linphone-Info.plist index 8f8045281..5fdb08ae3 100644 --- a/linphone-Info.plist +++ b/linphone-Info.plist @@ -24,7 +24,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 3.13 + 3.14 CFBundleURLTypes @@ -53,7 +53,7 @@ CFBundleVersion - 9 + 1 ITSAppUsesNonExemptEncryption ITSEncryptionExportComplianceCode