diff --git a/docs/manual/index.html b/docs/manual/index.html index 0f0ee4db..282ae0c0 100644 --- a/docs/manual/index.html +++ b/docs/manual/index.html @@ -629,6 +629,36 @@ requires linking to -lpthread and

+Due to the way miniaudio links to frameworks at runtime, your application may not pass Apple's notarization process. To fix this there are two options. The +first is to use the MA_NO_RUNTIME_LINKING option, like so: +

+

+ +

+
+#ifdef __APPLE__
+    #define MA_NO_RUNTIME_LINKING
+#endif 
+#define MINIAUDIO_IMPLEMENTATION
+#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: +

+

+ +

+
+<key>com.apple.security.cs.allow-dyld-environment-variables</key>
+<true/>
+<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
+<true/>
+

+ +

+

+

2.3. Linux