# MAC OS Build fails due to FMOD - please help

**URL:** https://qa.fmod.com/t/mac-os-build-fails-due-to-fmod-please-help/15649
**Category:** Unreal Engine
**Created:** [April 15, 2020, 11:54am UTC](https://qa.fmod.com/t/mac-os-build-fails-due-to-fmod-please-help/15649 "2020-04-15T11:54:59Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Oser-Soundformedia](https://avatars.discourse-cdn.com/v4/letter/o/b3f665/32.png) [@Oser-Soundformedia](https://qa.fmod.com/u/Oser-Soundformedia)
#### Post date: [April 15, 2020, 11:54am UTC](https://qa.fmod.com/t/mac-os-build-fails-due-to-fmod-please-help/15649/1 "2020-04-15T11:54:59Z")

</div>

Hello,

recently I included FMod as Middleware into our project and ever since the Mac build isnt working anymore. We are working on UNREAL 4.22 and as far as I know there is a bug that is known. Unfortunately the fix I stumbled across didn’t do it for me.

The exact error that prevents the game startup is: dyld: Library not loaded: @rpath/libfmod.dylib

It is very weird because the libfmod.dylib is in the place where it s not able to load it.

Does anybody know how to deal with the issue? If so, I would be very thankful for any help - there s currently a demo out for the Gameproject and a kickstarter going on and I would like to provide a Mac Build Asap.

If there is no solution to this, I’ll have to revert everything and not use FMod and I really dont want to do that. So any help is appreciated 🙂  
Thank you in advance

---

<div class="post-metadata">

### Author: ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)
#### Post date: [April 21, 2020, 12:36am UTC](https://qa.fmod.com/t/mac-os-build-fails-due-to-fmod-please-help/15649/2 "2020-04-21T00:36:12Z")

</div>

This is a bug in the Engine that Epic have been made aware of, see the following thread:

> [@4.22 MacOS Packaged Build crashes, cannot find libfmodL.dylib](https://qa.fmod.com/t/4-22-macos-packaged-build-crashes-cannot-find-libfmodl-dylib/14603):
>
> FMOD works great in the editor, but packaged builds crash immediately, unable to find the libfmodL.dylib file. The file definitely exists, and it seems to have the correct paths set up, using @rpath. Not sure what to do here exactly, any tips? I’m on MacOS 10.14, XCode 9.4.1, FMOD 1.10.12.
