Skip to main content
Inspiring
June 9, 2022
Question

Adobe Indesign Mac - Crash after adding a plugin

  • June 9, 2022
  • 1 reply
  • 202 views

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.

This topic has been closed for replies.

1 reply

Legend
June 10, 2022

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.