Trouble creating Security-Scoped Bookmark

前端 未结 1 414
长情又很酷
长情又很酷 2021-01-02 01:12

I\'m converting my Lion app to use the App Sandbox. I\'m trying to make use of the security-scoped bookmarks feature introduced in 10.7.3 to allow persistent access to a fol

相关标签:
1条回答
  • 2021-01-02 01:38

    It turns out I was missing a crucial entitlement, not listed in the UI, but listed in the documentation:

    com.apple.security.files.bookmarks.app-scope
    

    Update 12/18/2018

    According to this Twitter thread, this entitlement may not be required anymore. Thanks @pkamb for alerting me to this.

    0 讨论(0)
提交回复
热议问题