Make a copy of the entire Photoshop folder & call it “Adobe Photoshop 2021-developer"
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.
To enable debugging your plugin, do the following:
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\ 2021.app
- Remove any characters before "<?xml"
- Add the following to the entitlements: <key>com.apple.security.get-task-allow</key> <true/>
Re-sign the development copy: codesign -f -s - --xml --entitlements entitlements.xml /Applications/Adobe\ Photoshop\ 2021-developer/Adobe\ Photoshop\ 2021.app