Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Adobe Indesign Mac - Crash after adding a plugin

Explorer ,
Jun 09, 2022 Jun 09, 2022

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
207
Translate
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
Mentor ,
Jun 10, 2022 Jun 10, 2022
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.

Translate
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