I have a question about the file system of macOS and iOS.
I tried to play an audio from the local download folder. But I failed because my application seems not to have the permission to read it. I get the error Error Domain=NSOSStatusErrorDomain Code=-54 "permErr: permissions error (on file open)".
So I think it's something different from other systems like Windows.
How are these permissions handled and how can I get the permission to read a file?
I read something about Sandboxing but my app doesn't even start when I turn on "App Sandbox" in the settings.
4
0
2.3k