Debug your plugins with Photoshop on Big Sur | macOS 11


If you are trying to debug your plugin on macOS Big Sur (version 11) and are unable to attach to a running version of Photoshop this article is for you.


Developers writing C/C++ plugins for Photoshop and using Xcode to debug their product.


The dialog below is shown in Xcode when trying to attach to the running version of Photoshop. This is because of the signing of the Photoshop application. 

Debug your plugins with Photoshop on Big Sur | macOS 11

To enable debugging your plugin, do the following:

  1. Make a copy of the entire Photoshop folder & call it “Adobe Photoshop 2021-developer"

  2. Open Terminal and ensure that your current directory is writeable (such as the user home folder): codesign -d --xml --entitlements entitlements.xml /Applications/Adobe\ Photoshop\ 2021-developer/Adobe\ Photoshop\

  3. Open entitlements.xml

    1. Remove any characters before "<?xml"
    2. Add the following to the entitlements: <key></key> <true/>
  4. Re-sign the development copy: codesign -f -s - --xml --entitlements entitlements.xml /Applications/Adobe\ Photoshop\ 2021-developer/Adobe\ Photoshop\


Get help faster and easier

New user?