Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
For Mac OS 10.9 and iOS 7, the CoreBluetooth APIs should be virtually identical.
However, Xamarin.Mac 1.8.0 is missing the CBPeripheralManager and CBPeripheralManagerDelegate classes (and perhaps other, I did not check). These classes ARE available (and usable) from Objective-C.
This may be an "automated binding" failure, since IOBluetooth.h is not usable from C++ code. See http://openradar.io/15312520. Note that the openradar bug is not completely correct; the failure occurs if IOBluetooth.h is used from any Objective-C++ code, not just in C++11 mode.
Just to add more detail here, I've got a nice bit of CoreBluetooth code (written in pure Objective-C) that compiles cleanly on OS 10.9 and iOS 7, and exposes each device as a Bluetooth Central and peripheral.
I have checked this issue and observed that classes CBPeripheralManager and CBPeripheralManagerDelegate classes are missing from namespace MonoMac.CoreBluetooth.
Screencast : http://www.screencast.com/t/bVJGqxrXvY
=== Xamarin Studio ===
Version 5.2 (build 379)
Installation UUID: 3dbf10c4-ed30-4e55-8a8b-1704777c7b5f
Mono 3.6.0 ((no/5ff701f)
GTK+ 2.24.23 (Raleigh theme)
Package version: 306000037
=== Apple Developer Tools ===
Xcode 5.1 (5084)
=== Xamarin.iOS ===
Version: 126.96.36.199 (Business Edition)
Build date: 2014-07-13 20:15:09-0400
=== Xamarin.Mac ===
=== Build Information ===
Release ID: 502000379
Git revision: e797f287ff084be87a252fec5fcc1c79c53bd422
Build date: 2014-07-15 03:41:44-04
Xamarin addins: e40cad220f133f3ced5a76d33649afee4d1358c1
=== Operating System ===
Mac OS X 10.8.5
Darwin localhost 12.5.0 Darwin Kernel Version 12.5.0
Sun Sep 29 13:33:47 PDT 2013
These bindings have been added for OS X.