I have a sandboxed App with a CLI Helper-Tool.
I have created an entitlements File with
<key>com.apple.security.app-sandbox</key> <true/>
<key>com.apple.security.inherit</key> <true/>
and signed the Helper-Tool with the "Mac Developer" codesign indentity.
I drag & drop a File on the Main-App and with NSTask a Script is started with the FilePath and the Path to the Helper-Tool as Arguments , which runs the Helper-Tool.
But the Helper-Tool cannot access the File.
How can the Helper-Tool get access to the File?