Error building CEF on Mac

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Error building CEF on Mac

Postby NickChapman » Sun Jul 16, 2023 8:56 pm

Hi,
I am trying to build CEF on a M1 MacBook Air. MacOS version is 13.4.1 (22F82).

I am using the following build commands:
Code: Select all
export GN_DEFINES="is_official_build=true use_sysroot=true proprietary_codecs=true ffmpeg_branding=Chrome"
export CEF_ARCHIVE_FORMAT=tar.bz2
python3 automate-git.py --download-dir=~/cef --branch=5845 --minimal-distrib --client-distrib --force-clean --build-target=cefsimple --arm64-build --with-pgo-profiles


it fails after a while with:
Code: Select all
../../device/fido/mac/icloud_keychain_sys.h:41:7: error: unknown type name 'ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState'
      ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState;
      ^
../../device/fido/mac/icloud_keychain_sys.h:43:7: error: use of undeclared identifier 'ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationStateNotDetermined'
      ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationStateNotDetermined;
      ^
//etc


It looks like some kind of confusion with version numbers and API support based on version numbers.

Any ideas?

EDIT: May be an issue with an out-of-date Xcode, testing...
NickChapman
Techie
 
Posts: 21
Joined: Sun Apr 24, 2022 2:42 am

Re: Error building CEF on Mac

Postby NickChapman » Tue Jul 18, 2023 7:21 am

Ok, looks like the problem was an out-of-date Xcode. Feel free to delete post.
NickChapman
Techie
 
Posts: 21
Joined: Sun Apr 24, 2022 2:42 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 177 guests