I have a Plist called


in ~/Library/Preferences

that was updated just yesterday (not by me)


I do not use FaceTime, iMessages.

What is it ?

I lived in Spain for a while and visited Madrid, but that can not be it :)

OS 10.13.6

  • I believe the ...madrid.plist file used to have something to do with iMessage and/or FaceTime. BTW/ What version of macOS are you running on your Mac? – IconDaemon Sep 24 at 18:26
  • 10.13.6 and I do not use iMessage nor Face Time – Buscar웃 Sep 24 at 18:35

"Madrid" was the internal codename for iMessage before the iMessage product name was used.

The above is from @pytey on Twitter. You can find many references to Madrid within iMessage, many of which are detailed in Messages on theiphonewiki.com.

Even if you don't use iMessage, the plist still exists as part of iCloud communication. It stores simple metadata, mostly around syncing and CloudKit per the keys in the file.

  • can I delete it or just let it be – Buscar웃 Sep 24 at 18:39
  • 1
    @Buscar I guess you can delete it (deleting it is regarded as a support step for people having difficulty with iMessage connectivity according to some quick Googling) but since the file is being written to per the modification date, I suppose it would come straight back next time macOS wanted to write a preference. – grg Sep 24 at 18:41
  • is there a way to find out who is writing the Plist – Buscar웃 Sep 24 at 18:57
  • 2
    @Buscar sudo opensnoop -f ~/Library/Preferences/com.apple.madrid.plist to watch process accesses – grg Sep 24 at 19:04
  • 1
    dtrace: system integrity protection is on, some features will not be available ... and this... dtrace: error on enabled probe ID 6 (ID 949: syscall::open_nocancel:return): invalid user access in predicate at DIF offset 152 – Buscar웃 Sep 24 at 19:28

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.