View Single Post
Old 05-13-2021, 09:00 AM   #7
SaschArt
Human being with feelings
 
SaschArt's Avatar
 
Join Date: Aug 2013
Posts: 225
Default

In my case, never show. Maybe this is the solution !?

On IPlugAU.cpp file replace the line contain GetUserFoundationVersion() with:
Code:
 
if (GetGUI() && IGraphicsMac::GetUserOSVersion() >= 0x1050) {
And replace the GetUserOSVersion() function from IGraphicsMac.mm with the code from IPlug 2:

Code:
int IGraphicsMac::GetUserOSVersion()   // Returns a number like 0x1050 (10.5).
{  
  static int32_t v;
  if (!v) {
    if (NSAppKitVersionNumber >= 1404.0)
	v = 0x10b0;
    else if (NSAppKitVersionNumber >= 1266.0)
	v = 0x10a0; 
    else {
      SInt32 a = 0x1040;
      Gestalt(gestaltSystemVersion,&a);
      v=a;
    }
  }
  return v;
}
__________________
Audio plugins | BrainWaveProducer | EmRysRa
SaschArt is offline   Reply With Quote