willpirkleaudio/ASPiK

XCode 15 issues

Opened this issue · 5 comments

DrWig commented

XCode 15 doesn't work with ASPiK anymore, as the latest VSTSDK is needed for XCode 15 compatibility. Rolling back XCode beyond v14 isn't possible on the latest OS Ventura.

DrWig commented

It looks like the latest VSTSDK (3.7.9) can be used with this ASPiK (1.9.2) if
#include <base/source/fstring.h>
is added to the file:
customparameters.h

This should allow XCode 15 to be used (I can't test as I'm unable to use this, but some students have had issues).

DrWig commented

That didn't fix everything. I've updated to the latest OS and the following steps are also necessary to get everything to build on XCode 15:
the latest VSTGUI needs to be used, rather than the one that ships with ASPiK
this then breaks CKickButtonEx as the constructor has changed. The offset CPoint can't be passed to CKickButton using a constructor, as it no longer exists. I assume just passing it as a command in the constructor code will suffice......

CKickButtonEx::CKickButtonEx(const VSTGUI::CRect& size, IControlListener* listener, int32_t tag,
CBitmap* background, const CPoint& offset)
: CKickButton(size, listener, tag, background /*, offset*/)
{
mouseBehavior = mouseDirUpAndDown;
CKickButton::offset = offset;
}

DrWig commented

Alternatively, rolling back XCode to 14.2 allows ASPiK to use VSTSDK 3.7.7 as designed.

Also, although the 'fix' for the later XCode allows plugins to be compiled and run, the GUI editing isn't possible (trying to save the XML file results in hosts crashing)

rolling back to XCode 14 does seem to be possible on Sonoma, too:
https://stackoverflow.com/questions/76958016/is-there-a-way-to-run-xcode-14-on-macos-sonoma