1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-22 01:34:21 +00:00

Add "Assets" folder as a custom resource folder in AUv3SynthPlugin example on Mac so that the AUv3 passes auval

This commit is contained in:
ed 2018-04-23 16:43:48 +01:00
parent f29fa75477
commit d53171f0e9

View file

@ -313,7 +313,7 @@ ValueTree PIPGenerator::createExporterChild (const String& exporterName)
exporter.setProperty (Ids::targetFolder, "Builds/" + ProjectExporter::getTargetFolderForExporter (exporterName), nullptr);
if (isMobileExporter (exporterName))
if (isMobileExporter (exporterName) || (metadata[Ids::name] == "AUv3SynthPlugin" && exporterName == "XCODE_MAC"))
{
auto juceDir = getAppSettings().getStoredPath (Ids::jucePath).toString();
@ -321,8 +321,8 @@ ValueTree PIPGenerator::createExporterChild (const String& exporterName)
{
auto assetsDirectoryPath = File (juceDir).getChildFile ("examples").getChildFile ("Assets").getFullPathName();
exporter.setProperty (exporterName == "XCODE_IPHONE" ? Ids::customXcodeResourceFolders
: Ids::androidExtraAssetsFolder,
exporter.setProperty (exporterName == "ANDROIDSTUDIO" ? Ids::androidExtraAssetsFolder
: Ids::customXcodeResourceFolders,
assetsDirectoryPath, nullptr);
}
else