Skip to content

Instantly share code, notes, and snippets.

@iccir
Last active August 29, 2015 14:27
Show Gist options
  • Save iccir/81eef72706cfd18e6e11 to your computer and use it in GitHub Desktop.
Save iccir/81eef72706cfd18e6e11 to your computer and use it in GitHub Desktop.
# Due to an issue with the App Sandbox, Pixel Winch 1.0 will crash when the user
# attempts to save a screenshot or import an image. I'm submitting 1.0.1 immediately
# to fix this.
#
# In the meantime, if you need save/import functionality, a workaround is to disable the App Sandbox
# for Pixel Winch entirely:
defaults write /tmp/disable_sandbox.plist com.apple.security.app-sandbox -bool false
sudo codesign -f --entitlements /tmp/PixelWinchFix.plist -s - /Applications/Pixel\ Winch.app
# Or to add the "com.apple.security.files.user-selected.read-write" entitlement:
defaults write /tmp/PixelWinchFix.plist com.apple.security.app-sandbox -bool true
defaults write /tmp/PixelWinchFix.plist com.apple.security.network.client -bool true
defaults write /tmp/PixelWinchFix.plist com.apple.security.files.user-selected.read-write -bool true
sudo codesign -f --entitlements /tmp/PixelWinchFix.plist -s - /Applications/Pixel\ Winch.app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment