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.
AbAddressBook can not be used on OSX.
The implementation seems to be the one from IOS.
This problem occurrs with version 220.127.116.11 of MonoMac.
Got a sample that is failing for you?
If i try to create a instance of ABAddressBook i get a EntryPointNotFoundException
at (wrapper managed-to-native) MonoMac.AddressBook.ABAddressBook.AbAddressBookCreate() <0x00063>
at MonoMac.ABAdressBook..ctor() <0x00023>
This is the Code I'm calling:
MonoMac.AddressBook.ABAddressBook book = new MonoMac.AddressBook.ABAddressBook();
Addtionally i read the Address Book Programming Guide for Mac OS X from Apple and did not found the used functions e.g. searchElementForProperty(...)
Yes, it looks like the AddressBook API on MacOS uses an Objective-C API, while the iOS code that we used uses a C-based API.
Will need to look into this.
The new Contacts API introduced by Apple obsoletes the address book API, so it is doubtful we'd bind it at this point.