This error usually happens when the `generate_hash` file is not allowed to use by System
Please try below terminal commands and try again
chmod +x generate_hash_path
xattr -d com.apple.quarantine generate_hash_path
If generate_hash is still getting operation not permitted error, please allow your Terminal tool to access Full Disk following below steps.
- Open System Preferences:
- Click the Apple logo in the top-left corner of your screen.
- Select System Settings or System Preferences (depending on your macOS version).
- Navigate to Security & Privacy:
- Go to Security & Privacy and select the Privacy tab.
- Find Full Disk Access:
- Scroll down the left-hand list to find Full Disk Access.
- Add the Terminal App:
- Click the lock icon at the bottom-left to enable changes.
- Enter your admin password if prompted.
- Click the + button and navigate to the terminal application you use (e.g., Terminal, iTerm).
- Add it to the list and ensure it is checked.
- Restart Terminal:
- Close and reopen the terminal application for the changes to take effect.