Thanks to the username tbd, TCC.db is still in use, but is now located in
$HOME/Library/Developer/CoreSimulator/Devices/$DEVICEID/data/Library/TCC/
The access table schema is the same.
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *dbPath = [paths firstObject]; for (int ii = 0; ii < 5; ii++) { dbPath = [dbPath stringByDeletingLastPathComponent]; } dbPath = [[[dbPath stringByAppendingPathComponent:@"Library"] stringByAppendingPathComponent:@"TCC"] stringByAppendingPathComponent:@"TCC.db"];
Please note that TCC is intended only for access to accounts (contacts, mail, etc.), and not for all permissions.
source share