I want to create a Service using Automator on macOS 10.12.6.
Service receives selected rich text in any application
Input is entire selection ☑️ Output replaces selected text
I then plan to transform the text using AppleScript. Easy enough, right? But I've created several Services using this approach, and when I select them in TextEdit, the services all fail. I see the spinner icon momentarily, and I'm not shown an error dialog.
In Console.app, I see this error:
sandboxd Subsystem: com.apple.sandbox.reporting Category: violation SandboxViolation: TextEdit(11092) deny file-read-data /Users/somebody/Library/Services/Demo.workflow Violation: deny file-read-data /Users/somebody/Library/Services/Demo.workflow
How do I get my Service to comply with Sandbox restrictions?