# iOS - library not found for -lfmodstudiounitypluginL

**URL:** <https://qa.fmod.com/t/ios-library-not-found-for-lfmodstudiounitypluginl/17929>\
**Category:** Unity\
**Created:** [November 9, 2021, 6:03pm UTC](https://qa.fmod.com/t/ios-library-not-found-for-lfmodstudiounitypluginl/17929 "2021-11-09T18:03:19Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![noethis](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/noethis/32/1880_2.png) [@noethis](https://qa.fmod.com/u/noethis)\
**Post date:** [November 9, 2021, 6:03pm UTC](https://qa.fmod.com/t/ios-library-not-found-for-lfmodstudiounitypluginl/17929/1 "2021-11-09T18:03:19Z")

</div>

Hi, I’m trying to build my project to iOS and am getting “library not found for -lfmodstudiounitypluginL” in XCode. I’ve built to it properly in the past but something must have changed with my FMOD setup. I’ve checked my Assets/Plugins/FMOD/lib/ios folder and it does contain that file, but for some reason it’s not copying it over to the iOS build directory. Any ideas on how to fix this?

(I’m on FMOD for Unity 2.01.10 + Unity 2019.4.28f1)

---

<div class="post-metadata">

**Author:** ![noethis](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/noethis/32/1880_2.png) [@noethis](https://qa.fmod.com/u/noethis)\
**Post date:** [November 10, 2021, 5:40pm UTC](https://qa.fmod.com/t/ios-library-not-found-for-lfmodstudiounitypluginl/17929/2 "2021-11-10T17:40:53Z")

</div>

I ended up selecting that plugin file in Unity and marking it for the iOS platform and it worked. Not sure why it wasn’t already set to that and whether or not this is the correct solution?

 ![Screen Shot 2021-11-10 at 9.37.47 AM](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/0/06f86f973a95c45b6d15971bb948647cc1e903ed.png)

---

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [November 12, 2021, 4:40am UTC](https://qa.fmod.com/t/ios-library-not-found-for-lfmodstudiounitypluginl/17929/3 "2021-11-12T04:40:26Z")

</div>

That’s been happening with a few people lately, we still haven’t pinned down what the cause is, but you are correct setting it yourself should get it building properly again. Have you recently updated from a different version of FMOD?

---

<div class="post-metadata">

**Author:** ![noethis](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/noethis/32/1880_2.png) [@noethis](https://qa.fmod.com/u/noethis)\
**Post date:** [November 13, 2021, 9:37pm UTC](https://qa.fmod.com/t/ios-library-not-found-for-lfmodstudiounitypluginl/17929/4 "2021-11-13T21:37:40Z")

</div>

Weird thing is it seems to be clearing out the iOS platform checkmark in the “libfmodstudiounityplugin” plugin on build. So I’m still having to manually drag over that file to the build folder each time.

---

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [November 16, 2021, 3:10am UTC](https://qa.fmod.com/t/ios-library-not-found-for-lfmodstudiounitypluginl/17929/5 "2021-11-16T03:10:21Z")

</div>

> [@noethis](#):
>
> I’ve built to it properly in the past but something must have changed with my FMOD setup.

Have you recently updated from a different version of FMOD? I have not been able to reproduce this in 2.01.10 but if you previously had an older version of FMOD that might be affecting the build behaviour.

---

<div class="post-metadata">

**Author:** ![noethis](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/noethis/32/1880_2.png) [@noethis](https://qa.fmod.com/u/noethis)\
**Post date:** [March 31, 2022, 9:12pm UTC](https://qa.fmod.com/t/ios-library-not-found-for-lfmodstudiounitypluginl/17929/6 "2022-03-31T21:12:42Z")

</div>

This went way for awhile and recently started happening again–it clears out the iOS platform checkmark when building. @jeff_fmod, to answer your question, yes I had updated from a previous version of FMOD (don’t remember exactly which one). Is there any settings files I should verify are correct or any better options so I don’t have to do this every single time I build? Thanks!

---

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [April 7, 2022, 4:02am UTC](https://qa.fmod.com/t/ios-library-not-found-for-lfmodstudiounitypluginl/17929/7 "2022-04-07T04:02:22Z")

</div>

It sounds like there is something happening during the build that is inadevertantly clearing the settings. We had a fix in 2.01.12 for a similar issue that is supposed to make sure that any platform dependent changes that took place during building are reverted, can you please try updating to 2.01.12 and see if that fixes the issue?  
Otherwise, if you could please upload a reproduction to your [FMOD Profile](https://fmod.com/profile#uploads) we can try to debug the issue on our end.

---

<div class="post-metadata">

**Author:** ![noethis](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/noethis/32/1880_2.png) [@noethis](https://qa.fmod.com/u/noethis)\
**Post date:** [April 7, 2022, 9:59pm UTC](https://qa.fmod.com/t/ios-library-not-found-for-lfmodstudiounitypluginl/17929/8 "2022-04-07T21:59:48Z")

</div>

Hesitant to update anything at this point since we’re close to ship. If I have time I’ll try and make a repro project. Thanks!
