From 6d46ddf51aed9af45c5e3d7500484a7325683c59 Mon Sep 17 00:00:00 2001 From: David Reid Date: Thu, 15 Dec 2022 07:31:46 +1000 Subject: [PATCH] Update build instructions for iOS. --- miniaudio.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/miniaudio.h b/miniaudio.h index c12965cb..99b527d3 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -491,9 +491,10 @@ notarization process. To fix this there are two options. The first is to use the #include "miniaudio.h" ``` -This will require linking with `-framework CoreFoundation -framework CoreAudio -framework AudioUnit`. -Alternatively, if you would rather keep using runtime linking you can add the following to your -entitlements.xcent file: +This will require linking with `-framework CoreFoundation -framework CoreAudio -framework AudioToolbox`. +If you get errors about AudioToolbox, try with `-framework AudioUnit` instead. You may get this when +using older versions of iOS. Alternatively, if you would rather keep using runtime linking you can +add the following to your entitlements.xcent file: ``` com.apple.security.cs.allow-dyld-environment-variables