Adobe Indesign Mac - Crash after adding a plugin

New Here ,
Jun 09, 2022 Jun 09, 2022

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.

TOPICS
Bug , Import and export , SDK

Views

54

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jun 10, 2022 Jun 10, 2022

Copy link to clipboard

Copied

LATEST

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.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines