Access to ACAccount is not possible any more

Our application requests access to ACAccounts. If the user confirms the permission request in the system dialog, the TCC database is not updated. This works with OS X 10.9 and 10.10 but not 10.11. The log shows following error:


Access to Twitter Accounts not granted: Setting TCC failed.


Can someone confirm this problem? Is there a workaround? I have filed a bug, but usually Apple doesn't respond to filed bugs. I think there are to many bug tickets.

Replies

I just hit this error too. Did you find a solution? Can anyone else help?

I ran in to the same issue too. This seems to happen for Twitter and Facebook when requesting access to ACAccountStore using the method,

requestAccessToAccountsWithType:(ACAccountType *)accountType

options:(NSDictionary *)options

completion:(ACAccountStoreRequestAccessCompletionHandler)completion


I get the "Setting TCC failed" error only on Mac OS El Capitan. The same code works just fine on Mac OS Yosemite. We have sandbox enabled in our Mac App.


In another thread (https://forums.developer.apple.com/message/69921#69921), I noticed that there were a couple of bugs logged in the Apple "Bug Reporter".