Skip to content

Instantly share code, notes, and snippets.

@iccir
Last active August 17, 2016 06:27
Show Gist options
  • Select an option

  • Save iccir/d04f4204e8fcee59a1deff86693da115 to your computer and use it in GitHub Desktop.

Select an option

Save iccir/d04f4204e8fcee59a1deff86693da115 to your computer and use it in GitHub Desktop.
Fixes Pixel Winch on macOS Sierra Beta
#
# Due to a change with the App Sandbox, Pixel Winch 1.1 cannot capture screenshots
# in the beta version of macOS Sierra. As a workaround until Sierra GM, run the below commands.
#
# For more information, if you are a third party developer, check out:
# https://eternalstorms.wordpress.com/2016/08/01/screencapture-and-the-sandbox-in-macos-sierra/
# https://forums.developer.apple.com/message/152226#152226
#
# If you are an Apple engineer, check out:
# 27245600, 27610157, 27735823
#
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
defaults write /tmp/PixelWinchFix.plist com.apple.security.temporary-exception.mach-register.global-name com.apple.screencapture.interactive
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