Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
I suppose the recommended version for SDK 19 is XCode 14.2. Try that once
-Manans
Copy link to clipboard
Copied
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 ) ?
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
Thank you. It turns out that MacOS Sonoma 14.4 + Xcode 15.3 is ok for *some* but not all of the sample projects in the SDKSamples workspace provided with the SDK. If you attempt to build the workspace (i.e. all projects) you see the failure (but unfortunately without any context so you can't which project failed to compile). If you try to build individual projects (e.g. BasicDialog), it will work for *some* of them. These projects don't have the dependency that won't compile. I have not checked *all* projects so I can't say which projects have the problem, but at least I've shown that *some* plugins can be built using the latest os+xcode.
Copy link to clipboard
Copied
If I were you I would not spend time getting the unrecommended version of the development environment setup. It often is a time sink, you keep pouring in your time and effort and you keep hitting new issues.
-Manan
Copy link to clipboard
Copied
Have you solved?, because I'm in the exact same situation and thinking of moving from macos 14.5 to macos 12.x
Copy link to clipboard
Copied
The thing I solved for is how to run the desired version of XCode on MAC Os Sonoma. So I am still able to use XCode 14.2 and 13.3 on Mac Os 14.5 and my plugins build just fine and load too. As I suggested don't spend time making the non recommended version of XCode work, it is too much pain and who knows it might not even work.
-Manan