Error while building chromium on MAC

Skip to first unread message

Jugnu Singh

Sep 28, 2023, 5:49:56 AM9/28/23
to Chromium-dev
From two days, I am trying to build the chromium on my mac but getting below two error


../../third_party/webrtc/modules/desktop_capture/mac/ error: 'CGDisplayStreamStop' is only available on macOS 13.0 or newer [-Werror,-Wunguarded-availability-new]

  500 |     CGDisplayStreamStop(stream);

      |     ^~~~~~~~~~~~~~~~~~~

This I was able to resolved using -

Once this got solved, getting below error
"../../media/base/mac/ error: use of undeclared identifier 'AVCaptureDeviceTypeExternal'

   29 |           [captureDeviceTypes arrayByAddingObject:AVCaptureDeviceTypeExternal];

      |                                                   ^

1 error generated.

I have made no changes to code based and just checkout the code using "fetch chromium". I followed -

My mac configuration : ProductName: macOS, ProductVersion: 13.5.2, BuildVersion: 22G91

Please let me know if there is an existing bug for this or something I am doing wrong

Tình Nguyễn Hữu

Sep 28, 2023, 6:22:11 AM9/28/23
to, Chromium-dev
Update your OS and xcode

Chromium Developers mailing list:
View archives, change email options, or unsubscribe:
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

Maxim Manylov

Nov 27, 2023, 4:20:12 PM11/27/23
to Chromium-dev, Tình Nguyễn Hữu, Chromium-dev,
I have same issue.
I've updated os and xcode, first to macos 13.5, then to macOs 14.1

ls `xcode-select -p`/Platforms/MacOSX.platform/Developer/SDKs output:
MacOSX.sdk     MacOSX13.3.sdk MacOSX13.sdk

Nico Weber

Nov 27, 2023, 7:43:00 PM11/27/23
to, Chromium-dev, Tình Nguyễn Hữu,
We had a workaround for this in place, but we removed it in due to the MacOSX14 SDK fixing the system headers.

You still have the MacOSX13.4 SDK. That's too old. Try updating Xcode again. (And open it once after updating it.)

Reply all
Reply to author
0 new messages