MAC OS X 10.8 target build doesn't run on 10.8

Hello!

I’ve been trying to increase backwards-compatibility and thus building my AU plugins in MAC OS X 10.7 or 10.8 target. I use MAC OS X 10.11 and Xcode 7.3 myself and I have 10.7 - 10.9 SDKs. Building succeeds but the actual plugin does not want to run. I’ve confirmed this by creating a blank new plugin project and just building it with the target 10.7 or 10.8. Both doesn’t work on MAC OS X 10.8. I get this with auval:

validating Audio Unit testing by yourcompany:

  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
         AU Validation Tool
         Version: 1.6.1a1 
          Copyright 2003-2011, Apple, Inc. All Rights Reserved.

         Specify -h (-help) for command options
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

--------------------------------------------------
VALIDATING AUDIO UNIT: 'aufx' - 'Zzyf' - 'Manu'
--------------------------------------------------
Manufacturer String: yourcompany
AudioUnit Name: testing
Component Version: 1.0.0 (0x10000)
Component's Bundle Version: 1.0.0

* * PASS
--------------------------------------------------
TESTING OPEN TIMES:
COLD:
2018-04-10 13:45:21.525 auvaltool[2138:f07] Error loading /Library/Audio/Plug-Ins/Components/testing.component/Contents/MacOS/testing:  dlopen(/Library/Audio/Plug-Ins/Components/testing.component/Contents/MacOS/testing, 262): Library not loaded: /System/Library/Frameworks/AVKit.framework/Versions/A/AVKit
  Referenced from: /Library/Audio/Plug-Ins/Components/testing.component/Contents/MacOS/testing
  Reason: image not found
FATAL ERROR: OpenAComponent: result: -50,0xFFFFFFCE


validation result: couldn't be opened

Any ideas? :frowning:

I’m unable to setup a debugging environment in 10.8 since JUCE doesn’t run on it and opening the build project alone in older Xcode seems to go bad. It doesn’t find some of the dependencies even tho they’re clearly in the project…

Thanks for any ideas!

  • Kaukomedia

Remove juce_video module and try again…

2 Likes

Doh, thank you very much! :slight_smile: Worked!

It’s not at all obvious!

I have the same problem but for me this was ALSO undefined:-
“AudioChannelLayoutTag_AAC_7_1_C”

In Juce_mac_CoreAudioLayouts.h

If I change it to _B It’s fine, but will probably bite me later…
edit I noticed the video thing when I got a ‘Missing AVKIT’ error, I suspect it was a new channel addition that is not removed from older compiles.