diff --git a/LinphoneTester/Base.lproj/Main_iPhone.storyboard b/LinphoneTester/Base.lproj/Main_iPhone.storyboard index 00ded41d0..d2b7677dd 100644 --- a/LinphoneTester/Base.lproj/Main_iPhone.storyboard +++ b/LinphoneTester/Base.lproj/Main_iPhone.storyboard @@ -1,8 +1,8 @@ - + - - + + @@ -20,7 +20,7 @@ - + @@ -57,27 +57,13 @@ - - - - - + - + @@ -105,78 +91,16 @@ - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/LinphoneTester/DetailViewController.m b/LinphoneTester/DetailViewController.m index 17bb0d84b..4dbbfa71d 100644 --- a/LinphoneTester/DetailViewController.m +++ b/LinphoneTester/DetailViewController.m @@ -54,6 +54,7 @@ static NSString* const kAllTestsName = @"Run All tests"; // Update the view. [self configureView]; + [self.tableView reloadData]; } if (self.masterPopoverController != nil) { @@ -64,6 +65,7 @@ static NSString* const kAllTestsName = @"Run All tests"; - (void)configureView { const char* suite = [self.detailItem UTF8String]; + if( suite == NULL ) return; NSString* nssuite = [NSString stringWithUTF8String:suite]; int count = liblinphone_tester_nb_tests(suite); _tests = [[NSMutableArray alloc] initWithCapacity:count]; diff --git a/linphone.xcodeproj/project.pbxproj b/linphone.xcodeproj/project.pbxproj index 742c56b9c..231db8350 100755 --- a/linphone.xcodeproj/project.pbxproj +++ b/linphone.xcodeproj/project.pbxproj @@ -4873,6 +4873,7 @@ ONLY_ACTIVE_ARCH = YES; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE = ""; + TARGETED_DEVICE_FAMILY = 1; WRAPPER_EXTENSION = app; }; name = Debug; @@ -4921,6 +4922,7 @@ ); PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE = ""; + TARGETED_DEVICE_FAMILY = 1; VALIDATE_PRODUCT = YES; WRAPPER_EXTENSION = app; }; @@ -4970,6 +4972,7 @@ ); PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE = ""; + TARGETED_DEVICE_FAMILY = 1; VALIDATE_PRODUCT = YES; WRAPPER_EXTENSION = app; }; @@ -5019,6 +5022,7 @@ ); PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE = ""; + TARGETED_DEVICE_FAMILY = 1; VALIDATE_PRODUCT = YES; WRAPPER_EXTENSION = app; };