Skip to content

Instantly share code, notes, and snippets.

@koster
Created June 5, 2025 13:41
Show Gist options
  • Save koster/80a99f1f39d7152b79dd5bdf0023b46b to your computer and use it in GitHub Desktop.
Save koster/80a99f1f39d7152b79dd5bdf0023b46b to your computer and use it in GitHub Desktop.
bash script to fix unity mac os builds not starting if they're unsigned
#!/bin/bash
# put this next to your game's *.app file and run
APP_PATH="$(dirname "$0")"/*.app
echo "Making all .app bundles in this folder executable..."
chmod -R +x $APP_PATH
echo "Removing quarantine attribute..."
xattr -dr com.apple.quarantine $APP_PATH
echo "Done."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment