Building Branch 2924 fails on Mac with Xcode 7.3.1

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.

Re: Building Branch 2924 fails on Mac with Xcode 7.3.1

Postby orhun » Thu Apr 27, 2017 4:30 pm

mic wrote:I'm not sure how the Spotify automated builder completes this build without error, nor how my environment could be changed to make it work without the manual edit.


This is what I am doing,
  • run automate-git.py with --no-build --no-distrib
  • patch cefclient_mac.mm
  • run automate-git.py with --no-update --force-build

This is the relevant part of my script,
Code: Select all
elif self.settings.os == 'Macos':
    # There is a compile failure. In order to patch it, first just get the source
    self.run('python2.7 automate-git.py --no-build --no-distrib --download-dir=build --branch={} --checkout={} {}'.format(cef_branch, cef_rev, arch))
    # patch it
    tools.replace_in_file(os.path.join(cef_path, 'tests', 'cefclient', 'cefclient_mac.mm'), 'NSApp.mainMenu', '[[NSApplication sharedApplication] mainMenu]')
    # now build it without updating.
    self.run('python2.7 automate-git.py --no-update --force-build --download-dir=build --branch={} --checkout={} {}'.format(cef_branch, cef_rev, arch))
orhun
Newbie
 
Posts: 7
Joined: Mon Jun 10, 2013 9:52 am

Re: Building Branch 2924 fails on Mac with Xcode 7.3.1

Postby mic » Wed May 03, 2017 1:56 pm

Thanks for the tip!
mic
Mentor
 
Posts: 82
Joined: Fri Jan 29, 2016 12:59 pm

Previous

Return to Support Forum

Who is online

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