BlueBubblesApp / bluebubbles-server

Server for forwarding iMessages to clients within the BlueBubbles App ecosystem
https://bluebubbles.app
Apache License 2.0
557 stars 47 forks source link

macOS Contacts Permission - Updated Fix #704

Closed JUSTINMKAUFMAN closed 2 weeks ago

JUSTINMKAUFMAN commented 1 month ago

On macOS 15 with SIP disabled, it is not currently possible to request permission to access Contacts from the server app.

This is acknowledged in the Troubleshooting Guide available here: https://docs.bluebubbles.app/server/troubleshooting-guides/bluebubbles-server-cannot-access-macos-contacts

However, the steps listed there to manually add BlueBubbles to the permissions database do not work as of macOS 15 (and possibly macOS 14 as well).

I don't know how to PR against that documentation wiki, but I managed to get this working on my own and figured I'd share it here.

You actually only need to add 1 row to the access table in the TCC.db sqlite3 db to grant full Contacts access to the app:

INSERT INTO access VALUES('kTCCServiceAddressBook','com.BlueBubbles.BlueBubbles-Server',0,2,4,1,x'fade0c000000003000000001000000060000000200000012636f6d2e6170706c652e5465726d696e616c000000000003',NULL,NULL,'UNUSED',NULL,0,1675472593,NULL,NULL,'UNUSED',0);

See the troubleshooting guide for the steps leading up to inserting that row.

SpaceSaver commented 1 month ago

https://github.com/bluebubblesapp/bluebubbles-docs/issues

zlshames commented 2 weeks ago

I'm not sure i want to modify that DB via the server... which is why we have docs for it