auv3 macOS in process validating

oli-mbp:~ oli$ auval -v aufx IpeH Acme


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


--------------------------------------------------
VALIDATING AUDIO UNIT: 'aufx' - 'IpeH' - 'Acme'
--------------------------------------------------
Manufacturer String: AcmeInc
AudioUnit Name: IPlugEffect
Component Version: 1.0.0 (0x10000)


* * PASS
--------------------------------------------------
TESTING OPEN TIMES:
COLD:
dyld: warning, LC_RPATH @executable_path/../Frameworks in /Users/oli/Applications/IPlugEffect.app/Contents/Frameworks/IPlugEffectAUv3Framework.framework/IPlugEffectAUv3Framework being ignored in restricted program because of @executable_path
2018-05-10 20:45:25.883 auvaltool[5532:94786] -[IPlugViewController createAudioUnitWithComponentDescription:error:]: unrecognized selector sent to instance 0x7fa5b4031ee0
2018-05-10 20:45:25.883 auvaltool[5532:94786] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[IPlugViewController createAudioUnitWithComponentDescription:error:]: unrecognized selector sent to instance 0x7fa5b4031ee0'
*** First throw call stack:
(
0   CoreFoundation                      0x00007fff2c02032b __exceptionPreprocess + 171
1   libobjc.A.dylib                     0x00007fff53735c76 objc_exception_throw + 48
2   CoreFoundation                      0x00007fff2c0b8e04 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3   CoreFoundation                      0x00007fff2bf96870 ___forwarding___ + 1456
4   CoreFoundation                      0x00007fff2bf96238 _CF_forwarding_prep_0 + 120
5   AudioToolbox                        0x00007fff2aaa4477 _ZL18newAUFromExtensionP11NSExtensionRK25AudioComponentDescriptionjPU15__autoreleasingP7NSError + 1368
6   AudioToolbox                        0x00007fff2aaa3dd2 +[AUAudioUnit instantiateWithComponentDescription:options:completionHandler:] + 337
7   AudioToolbox                        0x00007fff2aaa4f06 __58-[AUAudioUnit initWithComponentDescription:options:error:]_block_invoke + 190
8   AudioToolbox                        0x00007fff2ab08ea1 Synchronously + 118
9   AudioToolbox                        0x00007fff2aaa4d15 -[AUAudioUnit initWithComponentDescription:options:error:] + 600
10  AudioToolbox                        0x00007fff2aa7253f +[AUAudioUnit_XH instantiateWithExtension:componentDescription:instance:options:completionHandler:] + 266
11  AudioToolbox                        0x00007fff2a93e940 _ZN21AUNSExtensionInstance9OpenAsyncEP23ComponentInstanceRecordjU13block_pointerFvS1_iE + 210
12  AudioToolbox                        0x00007fff2aa9af55 _ZL14AUIB_OpenAsyncPvP23ComponentInstanceRecordjU13block_pointerFvS1_iE + 234
13  AudioToolbox                        0x00007fff2aa2e628 _ZN11APComponent11newInstanceEjbU13block_pointerFvP23ComponentInstanceRecordiE + 708
14  auvaltool                           0x00000001014ac323 auvaltool + 70435
15  auvaltool                           0x000000010149ea41 auvaltool + 14913
16  auvaltool                           0x000000010149e36a auvaltool + 13162
17  auvaltool                           0x000000010149de86 auvaltool + 11910
18  auvaltool                           0x00000001014ab4c1 auvaltool + 66753
19  auvaltool                           0x000000010149d169 auvaltool + 8553
20  auvaltool                           0x000000010149c41d auvaltool + 5149
21  libdyld.dylib                       0x00007fff5434f015 start + 1
22  ???                                 0x0000000000000005 0x0 + 5
)
libc++abi.dylib: terminating with uncaught exception of type NSException
/usr/bin/auval: line 11:  5532 Abort trap: 6           arch -x86_64 /usr/bin/auvaltool "$@"

Replies

The FilterDemo and InstrumentDemo both load in process in logic. I have been trying to achieve the same, but i get this from auval:


firstly i cant understand the dlyd warning. settings seem to be the same as filter demo which has no waring


dyld: warning, LC_RPATH @executable_path/../Frameworks in /Users/oli/Applications/IPlugEffect.app/Contents/Frameworks/IPlugEffectAUv3Framework.framework/IPlugEffectAUv3Framework being ignored in restricted program because of @executable_path

I was having this same issue today when running auval on a newly developed template project - I found this article mentioning the same error bring thrown by auval (dyld: warning, LC_RPATH @executable_path/../Frameworks ...)

  • https://betterprogramming.pub/create-audio-unit-extension-from-scratch-77abee79d12

The fix worked for me, passing all auval tests now, and the test project loading in Logic as expected.