Hi, it seems the commit "a9ad07a
- Use RAII for CFTypes" introduced an error in juce_VSTPluginFormat.cpp:3638 building for iOS.
CFStringRef path = CFURLCopyFileSystemPath (pluginDir.get(), kCFURLPOSIXPathStyle);
FileSearchPath retval (String (CFStringGetCStringPtr (path.get(), kCFStringEncodingUTF8)));
~~~~^
Probably the intent was to use a CFUniquePtr
in the line above?
CFUniquePtr<CFStringRef> path (CFURLCopyFileSystemPath (pluginDir.get(), kCFURLPOSIXPathStyle));
Thanks,
Matteo