Are these entitlements correct for file access?

I have an app that needs to read a file the user selects from an Open dialog.

Right now it works fine on my machine (of course), but doesn't let my app access the file on other systems.

I code signed it using my Apple Developer ID. I have notarized it. I have checked it all with the notaryTool and it shows NO ERRORS and as far as I can tell, no warnings either.

Here's the entitlements: <key>com.apple.security.cs.disable-library-validation</key> <true/> <key>com.apple.security.cs.disable-executable-page-protection</key> <true/> <key>com.apple.security.app-sandbox</key> <true/> <key>com.apple.security.files.user-selected.read-write</key> <true/>

What could I be doing wrong?

Thank you, -Chilton

Replies

You’ve asked two questions that are very closely related, so I’m going to respond on your other thread.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"