Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS/macOS: Add ability to obtain and use security scoped bookmarks to access file system #1068

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

olilarkin
Copy link
Member

Due to the sandboxing on modern apple operating systems, it is necessary to obtain specific permission to access arbitrary files on the system after a user initiates file/folder selection. This permission can be stored for later use using a security-scoped bookmark. Since iPlug2 is in C++ and we don't really want to require people to write objective C, this PR deals with the bookmark as a WDL_TypedBuf<uint8_t>.

https://developer.apple.com/documentation/security/app_sandbox/accessing_files_from_the_macos_app_sandbox?language=objc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant