0% found this document useful (0 votes)
3 views

macos - cef build from source _ generate xcode project - Stack Overflow

The document discusses generating an Xcode project for the Chromium Embedded Framework (CEF) after building it from source. The user initially seeks guidance on creating a project linked to the CefClient.app sample application and considers using a binary distribution's Xcode project if necessary. Ultimately, the solution involves creating a release distribution and using a specific cmake command to generate the Xcode project from the build outputs.

Uploaded by

fanjie.me
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

macos - cef build from source _ generate xcode project - Stack Overflow

The document discusses generating an Xcode project for the Chromium Embedded Framework (CEF) after building it from source. The user initially seeks guidance on creating a project linked to the CefClient.app sample application and considers using a binary distribution's Xcode project if necessary. Ultimately, the solution involves creating a release distribution and using a specific cmake command to generate the Xcode project from the build outputs.

Uploaded by

fanjie.me
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

2025/3/31 12:25 macos - cef build from source : generate xcode project - Stack Overflow

cef build from source : generate xcode project


Asked 8 years, 6 months ago Modified 8 years, 6 months ago Viewed 2k times

Background:
1 1. I followed the instructions provided here:
https://bitbucket.org/chromiumembedded/cef/wiki/MasterBuildQuickStart.md
2. From the steps I could clone CEF,Chromium and then build "Chromium Embedded
Framework.framework" and "CefClient.app" sample application as expected.
Note:
1. we donot intend to use binary distribution available from cefbuilds.com, since we
intend to experiment/work within "Chromium Embedded Framework.framework"
aswell.
Questions :
1. Is there a way to create an XCode project that we can use to work with the
CefClient.app sample application source code ? (project can link to "Chromium
Embedded Framework.framework")
2. If the above is not possible, Should I try to use the XCode.proj generated from a
closest binary distribution and use it here - Is this valid ? Is there a better option ?
macos chromium-embedded

Share Edit Follow asked Sep 29, 2016 at 15:45


Arjun
399 3 12

This question definitely better ask on CEF forum: magpcss.org/ceforum/viewforum.php?f=6


– Dmitry Azaraev Sep 29, 2016 at 16:12
thanks fddima, I posted in the CEF forum and got the answer.
magpcss.org/ceforum/viewtopic.php?f=6&t=14546 – Arjun Sep 30, 2016 at 12:17

1 Answer Sorted by: Highest score (default)

I was able to generate the XCode project by making a release distribution out of the
build outputs that I generated earlier.
3 https://bitbucket.org/chromiumembedded/cef/wiki/BranchesAndBuilding.md#markdown-
header-manual-packaging
https://stackoverflow.com/questions/39774729/cef-build-from-source-generate-xcode-project 1/2
2025/3/31 12:25 macos - cef build from source : generate xcode project - Stack Overflow

Once a release distribution is created, XCode project can be created by running the
command :
cmake -G "Xcode" -DPROJECT_ARCH="x86_64"
inside the release distribution directory.
Note: I got this answer from CEF forum: http://magpcss.org/ceforum/viewtopic.php?
f=6&t=14546
Share Edit Follow answered Sep 30, 2016 at 12:30
Arjun
399 3 12

Start asking to get answers


Find the answer to your question by asking.
Ask question

Explore related questions


macos chromium-embedded
See similar questions with these tags.

https://stackoverflow.com/questions/39774729/cef-build-from-source-generate-xcode-project 2/2

You might also like