I have built an audio host application which can host both Virtual Instruments and Effects Plugins in Auv3 format. While the virtual instruments load fine, numerous effects plugins fail to load. I need Apple's help troubleshooting why these plugins fail to load.
Here is a list of the plugins which fail to load: Altiverb, Lexicon Reverb, AUMatrixReverb, AUNewPitch, AURogerBeep, AUReverb2, AUSampleDelay
Here is a list of plugins which DO load correctly: Native Instruments (all), Spectrasonics Omnisphere, All other Apple AU plugins not listed above.
It should be noted that the two non-Apple plugins which don't load both require an iLok dongle with a license. The iLok is attached and the software is authorized when the bug occurs. Note these run fine on Logic Pro and Digital performer. Is there special code, permissions, or code signing necessary to use plugins that require an iLok? It is not certain whether or not this is the cause but it is worth exploring.
When attempting to load Altiverb the error messages are:
Fatal error: 100000
A fatal wrapper bootstrap error happened. This software cannot be loaded. Please contact the software publisher for support using this software.
Failed to load effect. Error: Error Domain=NSOSStatusErrorDomain Code=-1 "kCFStreamErrorHTTPParseFailure / kCFSocketError / kCFStreamErrorDomainCustom / kCSIdentityUnknownAuthorityErr / qErr / telGenericError / dsNoExtsMacsBug / kMovieLoadStateError / cdevGenErr: Could not parse the request/response. / / custom to the kind of stream in question / / queue element not found during deletion / / not a SysErr, just a placeholder / / General error; gray cdev w/o alert"
When attempting to load Lexicon the error messages are: 2020-09-21 09:38:42.609730-0700 Composer Bot Desktop[14189:5425867] [audiocomp] APComponent.mm:397 CFBundle 0x12d9226e0 </Library/Audio/Plug-Ins/Components/LexConcertHall.component> (bundle, not loaded): cannot load bundle: The bundle “LexConcertHallAU” couldn’t be loaded because it is damaged or missing necessary resources. (dlopen_preflight(/Library/Audio/Plug-Ins/Components/LexConcertHall.component/Contents/MacOS/LexConcertHall): no suitable image found. Did find: /Library/Audio/Plug-Ins/Components/LexConcertHall.component/Contents/MacOS/LexConcertHall: mmap() errno=13 at address=0x1798E1000, size=0x003AC000 segment=__DATA in Segment::map() mapping /Library/Audio/Plug-Ins/Components/LexConcertHall.component/Contents/MacOS/LexConcertHall) Failed to load effect. Error: Error Domain=NSOSStatusErrorDomain Code=-1 "kCFStreamErrorHTTPParseFailure / kCFSocketError / kCFStreamErrorDomainCustom / kCSIdentityUnknownAuthorityErr / qErr / telGenericError / dsNoExtsMacsBug / kMovieLoadStateError / cdevGenErr: Could not parse the request/response. / / custom to the kind of stream in question / / queue element not found during deletion / / not a SysErr, just a placeholder / / General error; gray cdev w/o alert"
Steps to Reproduce In the included folder which I will provide upon request, open the xcode project AudioFramework.xcodeproj Select the scheme: AudioFrameworkDemo Run the project A mixing board should appear In the first channel on the left, select the top Audio FX cell (not Input) In the dropdown, choose Altiverb or Lexicon (if you have any of those plugins) If you do not have these products, you may try any other third party plugin that requires an iLok dongle. (Again, we do not know if the iLok is the culprit) You will likely see an error message that these plugins cannot run in the presence of a debugger. Therefore, while the app is still running: In the dock below, right click the AudioFramework->Options->Keep in dock Quit the app, and launch again this time from the dock. Repeat the steps above.
You may check out the source code here on Github: