Questions tagged [security-scoped-bookmarks]

32 questions
0
votes
1 answer

how can I read a file out of sandbox? (swift 5 , xcode 12)

I need to send a file to the server. I select this file with UIViewControllerRepresentable which provides the url of the file and every time I try to upload I get the same message :- Domain=NSCocoaErrorDomain Code=257 "The file “example1.xml”…
0
votes
1 answer

How to bind NSURL in plist to NSPathControl in sandboxed app?

My OS X app needs persistent access to a directory the user chooses. Before I turned on app sandbox the UI had a NSPathControl with a value binding to the data model. The data type in the model is NSData and the binding used a…
1 2
3