Building on osx 10.13...?

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.

Building on osx 10.13...?

Postby DanKegel » Thu Oct 12, 2017 8:15 am

Has anyone else had luck building 3202 on osx 10.13 / xcode 9 yet?

After working around

https://bitbucket.org/chromiumembedded/ ... -undefined

I still got build errors like

# device/bluetooth/bluetooth_adapter_mac_metrics.mm:53:12: error: 'CBErrorConnectionFailed' is only available on macOS 10_13 or newer [-Werror,-Wunguarded-availability-new]

That area appears to be under active development, so upstream may not have figured this out yet?

The failing commandline included

-isysroot ../../../../../../../../../../Applications/Xcode9.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.9.0

Looking around for a way to force -mmacosx-version-min=10.13.0, I noticed
https://bugs.chromium.org/p/chromium/is ... ?id=669240

Evidently the build system requirements are changing:

" ## System requirements
-* A 64-bit Mac running 10.11+.
-* [Xcode](https://developer.apple.com/xcode) 7.3+.
-* The OS X 10.10 SDK. Run
+* A 64-bit Mac running 10.12+.
+* [Xcode](https://developer.apple.com/xcode) 8+
+* The OS X 10.12 SDK. Run

That's interesting...
DanKegel
Mentor
 
Posts: 59
Joined: Fri Nov 08, 2013 12:46 pm

Re: Building on osx 10.13...?

Postby magreenblatt » Thu Oct 12, 2017 10:51 am

You should follow the requirements at https://bitbucket.org/chromiumembedded/ ... uilding.md and use Xcode 8.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Building on osx 10.13...?

Postby DanKegel » Mon Oct 16, 2017 9:52 am

Hmm, somehow I thought osx 10.13 required xcode 9. Thanks.

BTW, they're serious about requiring xcode 8.3.
Trying to build on osx 10.12 with xcode 8.1 fails with

../../ui/base/cocoa/touch_bar_forward_declarations.h:109:50: error: overriding method introduced after overridden method on macOS (10.12.2 vs. 10_12_1) [-Werror,-Wavailability]
@property(strong, readonly) NSTouchBar* touchBar API_AVAILABLE(macos(10.12.2));
^
DanKegel
Mentor
 
Posts: 59
Joined: Fri Nov 08, 2013 12:46 pm


Return to Support Forum

Who is online

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