Skip to main content
Participating Frequently
April 16, 2024
Question

InDesign Plugin SDK samples don't compile in XCode

  • April 16, 2024
  • 1 reply
  • 879 views

I've just downloaded Plugins SDK 19.3.0.58. I'm running XCode 15.3 on Sonoma 14.4.

1. Open the SDKSamples workspace.
2. Build fails at line 73 integral_wrapper.hpp error 

integer value -1 is outside the valid range of values [0, 3] for this enumeration type

 

So, seemingly this is a Boost version issue. If I download the current Boost 1.84.0_1, I can use it with no problem in a new XCode C++ project. But, since Boost (1_74) is distributed *with* the sdk, we assume it's a strict dependency?

 

Any suggestions how I can resolve to get a functioning plugin development tooling set up?

 

TIA,

Jim

This topic has been closed for replies.

1 reply

Community Expert
April 17, 2024

I suppose the recommended version for SDK 19 is XCode 14.2. Try that once

-Manans

-Manan
Jim06880Author
Participating Frequently
April 17, 2024

Thank you. It's a good suggestion, but unfortunately XCode 14.x can't run on MacOS Sonoma 😞 Can anyone share a combination ( MacOS version, XCode version, Plugins SDK version ) that they use successfully (and that can build the sdksamples workspace ) ?

Community Expert
April 19, 2024

I currently have SDK v19.0 and its sample plugins build fine for me on a MAC 12.7.3 and XCode 14.2

-Manan 

-Manan