I'm developing Photoshop SDK plugins. Recently I updated my Mac to the new macOS Catalina 10.15.4 and installed new Photoshop 21.1.3.
I added my previously built plugins in the Photoshop's plugin location and plugins works fine - I can call them and got results.
But when I try to attach to the Photoshop process with XCode (v11.4.1) I got a error
DetailsCould not attach to pid : “27291”Domain: IDEDebugSessi 855031; RawLLDBErrorMessage = "Error 1";}--System InformationmacOS Version 10.15.4 (Build 19E287)Xcode 11.4.1 (16137)
I also tried to attach with lldb via the Terminal, but also no luck - the same "Error 1".
Meanwhile, there is no problems with debugging any other my (standalone) application, with UI or console. I can either run directly from XCode with consequence automatic debugger attaching, or manually attach to the application already run.
Could someone advise, what changed in new versions of Photoshop and/or macOS which prevents debugging and how we can now debug our plugins?