Using ContactAccessButton freezes the entire app

When using both the ContactsAccessButton demo project, as well as when implementing it in my own, the whole app freezes after entering a few characters and searching through contacts.

I don't know if this is necessarily reproducable because it's probably related to the contacts in my contact book. Typing in "Lex" does not freeze the app, but typing in "Adam No" freezes it.

I get the following console error before my app freezes and I'm forced to force quit it:

  • #ContactsButton Failed to get service proxy: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service with pid 3387 named com.apple.ContactsUI.ContactsButtonXPCService" UserInfo={NSDebugDescription=connection to service with pid 3387 named com.apple.ContactsUI.ContactsButtonXPCService}

  • #ContactsButton Failed to get remote content: nil (got this a number of times

ContactsAccessButton really doesn't seem production ready...

@adamtwo, Please file a bug about this issue and post the bug number here.

I've noticed that it happens when the contact to be shown has a picture configured.

Using ContactAccessButton freezes the entire app
 
 
Q