Copy link to clipboard
Copied
Hello guys,
I'm trying to port our Adobe Indesign plugin from Windows to Mac but I'm facing a problem;
When I paste the plugin to /Applications/Adobe InDesign 2021/Plug-Ins and I try to open InDesign;
It crashes immediately, the last thing I see in the process is 'Executing startup services'.
I tried to find out the root cause of the crash and it appears that this class if deleted from the .fr file, there is no crash but InDesign can't load the plugin.
Class
{
kIDgUIPreflightRuleSPBoss,
kInvalidClass,
{
IID_IK2SERVICEPROVIDER,kPreflightRuleSPImpl,
IID_IPREFLIGHTRULESERVICE,kIDgUIPreflightRuleServiceImpl,
}
},
Same code works perfectly on Windows; compiles correctly on MacOs but crashes on startup.
Do anyone have any ideas?
Thanks in advance.
Copy link to clipboard
Copied
Instead of opening InDesign, launch it from within Xcode.
This should give you a working debugger hanging straight at the crash location, including goodies such as a stack backtrace and eventually variables.
I'd also strongly recommend to invest some learning time into ITK.