The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,512 other followers

“Textmate.app would like to access your contacts”

Posted by jpluimers on 2014/06/25

Both TextMat 1.5 and 2.0 will ask you this upon the first time use:

“Textmate.app would like to access your contacts”

According to their Troubleshooting / MountainLion browse — TextMate Wiki it is valid, but the way they phrase it any sensible user should answer “No way!”.

If you ever want to reverse a decision to such an addressbook question, the only way is to reset it for all the times you answered it:

Perform “tccutil reset addressbook” in a Terminal window as shown in the man page tccutil section 1.

What TextMat should have done instead is customize the text of the question in order to show the intent. This isn’t difficult, as explained on Red Sweater Blog – Can I Get Your Address? by Daniel Jalkut:

In the info.plist, edit the value of the NSContactsUsageDescription key, as suggested by a Tweet from Cabel Maxfield Sasser.

Daniel points to the documentation PDF, where it indeed is stated when you read it very carefully: the detailed text indicates it is for iOS only, but in fact it is there in Mac OS X 10.8 and up as well.

It is also inside the Information Property List Key Reference: Cocoa Keys: the key tells it it for iOS 6+ and OS X 10.8+, but browsing to NSContactsUsageDescription only indicates iOS 6.

–jeroen

via Twitter / voidspace: “Textmate.app would like to ….

2 Responses to ““Textmate.app would like to access your contacts””

  1. Brad Wallace said

    Thankyou much!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

 
%d bloggers like this: