1

I'm trying to make a web browser application for macOS. So I went to build chromium for macOS. I did all the instructions but I never got an Xcode project. Can you please help me with this.

I was following the instructions for macOS

Asesh
  • 3,186
  • 2
  • 21
  • 31
WD123
  • 11
  • 2
  • Could you tell us which instructions you were following, from where? This question is a bit less specific than we usually like on Stack Overflow, and it is difficult to answer with what we've got. – Michael Macha Jul 10 '20 at 05:53
  • I was following the macOS instructions – WD123 Jul 10 '20 at 10:49

1 Answers1

0

You have to use GN to build XCode project. Suppose YourBuildFolder is the folder in which you are compiling Chromium, then execute the following command:

gn gen out/YourBuildFolder --ide=xcode

Now if you navigate to YourBuildFolder you should see this file: all.xcodeproj

As this project is too big, it will slow down XCode. So this isn't the recommended way to write Chromium code in macOS.

Asesh
  • 3,186
  • 2
  • 21
  • 31
  • Right now, I'm downloading the 20gb source code. I'll check if it works for me – WD123 Jul 10 '20 at 13:25
  • @WD123 If this works then please mark it as a solution to your question – Asesh Jul 16 '20 at 03:13
  • See https://dev.chromium.org/developers/how-tos/debugging-on-os-x/building-with-ninja-debugging-with-xcode for further details on building with Ninja and debugging with Xcode. – Gary Jul 18 '20 at 15:40