Make a copy of the entire Photoshop folder & call it “Adobe Photoshop 2021-developer"
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:
Make a copy of the entire Photoshop folder & call it “Adobe Photoshop 2021-developer"
Open Terminal and ensure that your current directory is writeable (such as the user home folder): codesign -d --entitlements entitlements.xml /Applications/Adobe\ Photoshop\ 2021-developer/Adobe\ Photoshop\ 2021.app
Open entitlements.xml
Re-sign the development copy: codesign -f -s - --entitlements entitlements.xml /Applications/Adobe\ Photoshop\ 2021-developer/Adobe\ Photoshop\ 2021.app
Conectați-vă la cont