Auval cannot load plugin

Hi,

I’ve built my Mac AU using JUCE 5.4.3 and ProJucer but the auval fails with the following error that I’m completely stumped by. The vst and vst3 both work fine as does the iOS standalone, AUv3 and Mac standalone.

Any ideas? I’m lost.

Logs below:

AU Validation Tool
Version: 1.6.1a1
Copyright 2003-2013, Apple Inc. All Rights Reserved.
Specify -h (-help) for command options


VALIDATING AUDIO UNIT: ‘aumu’ - ‘MORP’ - ‘ORDM’

Manufacturer String: One Red Dog
AudioUnit Name: Morphene
Component Version: 1.0.0 (0x10000)

    • PASS

TESTING OPEN TIMES:
COLD:
2019-04-22 15:14:13.565 auvaltool[11091:521657] Error: Session 63EAD3B5-97CF-4467-BF91-71D25B92767B was unable to communicate with the remote service: Error Domain=NSCocoaErrorDomain Code=4099 “The connection from pid 0 was invalidated from this process.” UserInfo={NSDebugDescription=The connection from pid 0 was invalidated from this process.}

Using pluginval I see the following error.

pluginval v0.2.3 - JUCE v5.4.3
Started validating: /Users/peter/Library/Audio/Plug-Ins/Components/Morphene.component
Random seed: 0x2469a8c
Validation started: 22 Apr 2019 3:17:15pm

Strictness level: 1

Starting test: pluginval / Scan for known types: /Users/peter/Library/Audio/Plug-Ins/Components/Morphene.component…
Num types found: 0
!!! Test 1 failed: No types found
FAILED!! 1 test failed, out of a total of 1

Finished validating: /Users/peter/Library/Audio/Plug-Ins/Components/Morphene.component
*** FAILED: 1 TESTS

did you see this related post: AU validation problem! - #7 by anthony-nicholls

Thanks. I think there’s some issue with the my plug-in startup loading the initial preset from disk. You have to clean the ~/Library/Caches/AudioUnitCache after every build? Seems code changes don’t get applied.