diff --git a/webrtc/examples/BUILD.gn b/webrtc/examples/BUILD.gn index 1eca3171de..0098d69781 100644 --- a/webrtc/examples/BUILD.gn +++ b/webrtc/examples/BUILD.gn @@ -196,9 +196,6 @@ if (is_ios || (is_mac && target_cpu != "x86")) { "-Wno-sign-compare", "-Wno-unused-variable", ] - if (is_mac) { - cflags += [ "-Wno-partial-availability" ] - } } rtc_static_library("apprtc_signaling") { @@ -368,8 +365,6 @@ if (is_ios || (is_mac && target_cpu != "x86")) { mac_app_bundle("AppRTCMobile") { output_name = "AppRTCMobile" - extra_substitutions = [ "MACOSX_DEPLOYMENT_TARGET=10.8" ] - sources = [ "objc/AppRTCMobile/mac/main.m", ] @@ -409,10 +404,6 @@ if (is_ios || (is_mac && target_cpu != "x86")) { # https://bugs.chromium.org/p/webrtc/issues/detail?id=6396 "-Wno-unused-result", ] - - if (is_mac) { - cflags += [ "-Wno-partial-availability" ] - } } rtc_static_library("socketrocket") { diff --git a/webrtc/examples/objc/AppRTCMobile/mac/APPRTCViewController.m b/webrtc/examples/objc/AppRTCMobile/mac/APPRTCViewController.m index 353e105c1d..176ea19da8 100644 --- a/webrtc/examples/objc/AppRTCMobile/mac/APPRTCViewController.m +++ b/webrtc/examples/objc/AppRTCMobile/mac/APPRTCViewController.m @@ -242,7 +242,7 @@ static NSUInteger const kBottomViewHeight = 200; _roomField = [[NSTextField alloc] initWithFrame:NSZeroRect]; [_roomField setTranslatesAutoresizingMaskIntoConstraints:NO]; - _roomField.placeholderString = @"Enter AppRTC room id"; + [[_roomField cell] setPlaceholderString: @"Enter AppRTC room id"]; [_actionItemsView addSubview:_roomField]; [_roomField setEditable:YES];