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?
This is strange. Either the dev env is not setup right or the recompilation is not building it properly. Do the following
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
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).
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
Copy link to clipboard
Copied
This is strange. Either the dev env is not setup right or the recompilation is not building it properly. Do the following
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
Find more inspiration, events, and resources on the new Adobe Community
Explore Now