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

indesign C++ sdk run demo ?

Community Beginner ,
Feb 27, 2024 Feb 27, 2024

Copy link to clipboard

Copied

After making some simple modifications to the InDesign C++ SDK's built-in demo and recompiling it, why does InDesign prompt that the plugin is invalid? How can this issue be resolved?

TOPICS
SDK

Views

171

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

correct answers 1 Correct answer

Community Expert , Feb 27, 2024 Feb 27, 2024

This is strange. Either the dev env is not setup right or the recompilation is not building it properly. Do the following

  • Clean the build and then recopile and see if it resolves the issue
  • Manually delete the build folders and then recompile if the first point does not work for you

If my suspicions are right then the plugin that works for you and the one that does not should have a file size difference.

-Manan

Votes

Translate

Translate
Engaged ,
Feb 27, 2024 Feb 27, 2024

Copy link to clipboard

Copied

@RDI33054067w5ck  You have to make sure that the major version of the SDK that you are using is the same as that of the version of InDesign that you are using. That is to say, if you are building your plugin with SDK version 17.2.0.18 then you need to be using InDesign version 17 (aka. 2022). Additionally, the minor version of your InDesign must be the same or greater than that of the SDK you are using.  Again, if you are building your plugin with SDK version 17.2.0.18 then you need to be using InDesign version 17.2 or above (but not 18 or 19).

Votes

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
Community Beginner ,
Feb 27, 2024 Feb 27, 2024

Copy link to clipboard

Copied

The version is fine, and all the examples in 'sdksamples' can be executed. However, when I modify the code in the demo, even if I just add an empty line, Xcode can compile successfully, but InDesign shows the plugin as invalid

Votes

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
Community Expert ,
Feb 27, 2024 Feb 27, 2024

Copy link to clipboard

Copied

LATEST

This is strange. Either the dev env is not setup right or the recompilation is not building it properly. Do the following

  • Clean the build and then recopile and see if it resolves the issue
  • Manually delete the build folders and then recompile if the first point does not work for you

If my suspicions are right then the plugin that works for you and the one that does not should have a file size difference.

-Manan

Votes

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