Workaround bug in IOBluetoothUI headers from macOS 11.0 SDK (Xcode 12.2)

Co-authored-by: Sergey Bogolepov <1580082+sbogolepov@users.noreply.github.com>
This commit is contained in:
Svyatoslav Scherbina
2020-11-18 16:35:37 +03:00
committed by Stanislav Erokhin
parent a47081325b
commit 62ce813a05
@@ -3,5 +3,6 @@ language = Objective-C
package = platform.IOBluetoothUI
modules = IOBluetoothUI
compilerOpts = -framework IOBluetoothUI
# -DAPI_UNAVAILABLE_BEGIN workarounds bug in IOBluetoothUI headers which use this macro before importing it.
compilerOpts = -framework IOBluetoothUI -DAPI_UNAVAILABLE_BEGIN=__API_UNAVAILABLE_BEGIN
linkerOpts = -framework IOBluetoothUI