Can't open .xcodeproj file since .pbxproj file not found in content folder

142 views
Skip to first unread message

arunoday sarkar

unread,
Jun 17, 2014, 8:31:40 PM6/17/14
to chromi...@chromium.org
Hi 

I wanted to try visual debugging using xcode but still be able to build using ninja, so i set GYP_GENERATORS as 'xcode,ninja'

I ran gclient runhooks 

However I couldn't open the .xcodeproj it complains .pbxproj file missing

Am I suppose to do a pull and then sync in this case?

Thanks

Sylvain Defresne

unread,
Jun 18, 2014, 4:16:38 AM6/18/14
to a.sark...@gmail.com, chromi...@chromium.org
I think that only ninja is supported to build Chrome on Mac. If you just want to be able to run Chrome through Xcode, I would recommend instead using the xcode-ninja generator that is supported. This will create a Xcode project that will delegate the build to ninja.

I'm using the following:
$ export GYP_GENERATORS="ninja,xcode-ninja"
$ export GYP_GENERATOR_FLAGS="xcode_project_version=3.2 xcode_ninja_main_gyp=src/build/ninja/all.ninja.gyp"
$ gclient runhooks
$ open src/build/ninja/all.ninja.xcworkspace

Regards,
-- Sylvain


--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev

Reply all
Reply to author
Forward
0 new messages