# 1.10.1 v2 "Symbol not found" in iOS simulator

**URL:** <https://qa.fmod.com/t/1-10-1-v2-symbol-not-found-in-ios-simulator/13537>\
**Category:** Unity\
**Created:** [November 13, 2017, 8:33pm UTC](https://qa.fmod.com/t/1-10-1-v2-symbol-not-found-in-ios-simulator/13537 "2017-11-13T20:33:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![lrg\_steven](https://avatars.discourse-cdn.com/v4/letter/l/439d5e/32.png) [@lrg\_steven](https://qa.fmod.com/u/lrg_steven)\
**Post date:** [November 13, 2017, 8:33pm UTC](https://qa.fmod.com/t/1-10-1-v2-symbol-not-found-in-ios-simulator/13537/1 "2017-11-13T20:33:32Z")

</div>

FMOD crashes when running builds in the iOS simulator (Xcode v9.1, Simulator v10). There are no linking errors during the build process. I’m running Unity 5.6.4.

Has anyone seen the following?

```
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

dyld: lazy symbol binding failed: Symbol not found: _FMOD5_Memory_GetStats
  Referenced from: /Users/stevensmith/Library/Developer/CoreSimulator/Devices/B2E0B1C6-3E01-40FC-BCF6-3F64756EB209/data/Containers/Bundle/Application/F5E769DC-DD00-4C91-8B92-600C9985CA14/AfaTest01.app/AfaTest01
  Expected in: flat namespace

dyld: Symbol not found: _FMOD5_Memory_GetStats
  Referenced from: /Users/stevensmith/Library/Developer/CoreSimulator/Devices/B2E0B1C6-3E01-40FC-BCF6-3F64756EB209/data/Containers/Bundle/Application/F5E769DC-DD00-4C91-8B92-600C9985CA14/AfaTest01.app/AfaTest01
  Expected in: flat namespace

```

Update: I’m posting the linker error described in the comment below here so that it can be formatted for easier reading

```
Undefined symbols for architecture arm64:
  "_FMOD_Studio_EventInstance_SetParameterValuesByIndices", referenced from:
      _EventInstance_FMOD_Studio_EventInstance_SetParameterValuesByIndices_m2967463134 in Bulk_Assembly-CSharp-firstpass_1.o
      _EventInstance_setParameterValuesByIndices_m780857556_AdjustorThunk in Bulk_Assembly-CSharp-firstpass_1.o
     (maybe you meant: _EventInstance_FMOD_Studio_EventInstance_SetParameterValuesByIndices_m2967463134)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
```

---

<div class="post-metadata">

**Author:** ![lrg\_steven](https://avatars.discourse-cdn.com/v4/letter/l/439d5e/32.png) [@lrg\_steven](https://qa.fmod.com/u/lrg_steven)\
**Post date:** [November 20, 2017, 6:27pm UTC](https://qa.fmod.com/t/1-10-1-v2-symbol-not-found-in-ios-simulator/13537/2 "2017-11-20T18:27:39Z")

</div>

> [@](#):
>
> FMOD crashes when running builds in the iOS simulator (Xcode v9.1, Simulator v10). There are no linking errors during the build process. I’m running Unity 5.6.4.
> 
> Has anyone seen the following?
> 
> ```
> (Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
> 
> dyld: lazy symbol binding failed: Symbol not found: _FMOD5_Memory_GetStats
> Referenced from: /Users/stevensmith/Library/Developer/CoreSimulator/Devices/B2E0B1C6-3E01-40FC-BCF6-3F64756EB209/data/Containers/Bundle/Application/F5E769DC-DD00-4C91-8B92-600C9985CA14/AfaTest01.app/AfaTest01
> Expected in: flat namespace
> 
> dyld: Symbol not found: _FMOD5_Memory_GetStats
> Referenced from: /Users/stevensmith/Library/Developer/CoreSimulator/Devices/B2E0B1C6-3E01-40FC-BCF6-3F64756EB209/data/Containers/Bundle/Application/F5E769DC-DD00-4C91-8B92-600C9985CA14/AfaTest01.app/AfaTest01
> Expected in: flat namespace
> 
> ```
> 
> Update: I’m posting the linker error described in the comment below here so that it can be formatted for easier reading
> 
> ```
> Undefined symbols for architecture arm64:
> "_FMOD_Studio_EventInstance_SetParameterValuesByIndices", referenced from:
> _EventInstance_FMOD_Studio_EventInstance_SetParameterValuesByIndices_m2967463134 in Bulk_Assembly-CSharp-firstpass_1.o
> _EventInstance_setParameterValuesByIndices_m780857556_AdjustorThunk in Bulk_Assembly-CSharp-firstpass_1.o
> (maybe you meant: _EventInstance_FMOD_Studio_EventInstance_SetParameterValuesByIndices_m2967463134)
> ld: symbol(s) not found for architecture arm64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> 
> ```

Update: I had mistakenly said that 1.10 builds for the device. It does not. 1.09 builds for the device. 1.10 has a linker error when building for device.

---

<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:** [November 21, 2017, 9:05pm UTC](https://qa.fmod.com/t/1-10-1-v2-symbol-not-found-in-ios-simulator/13537/3 "2017-11-21T21:05:30Z")

</div>

The iOS Simulator requires libs built against the Simulator SDK, which we currently do not build or supply. I have added this to our tracker and will be available in a future release.

What is the linker error you are getting with 1.10?

---

<div class="post-metadata">

**Author:** ![lrg\_steven](https://avatars.discourse-cdn.com/v4/letter/l/439d5e/32.png) [@lrg\_steven](https://qa.fmod.com/u/lrg_steven)\
**Post date:** [November 21, 2017, 9:52pm UTC](https://qa.fmod.com/t/1-10-1-v2-symbol-not-found-in-ios-simulator/13537/4 "2017-11-21T21:52:25Z")

</div>

> [@](#):
>
> The iOS Simulator requires libs built against the Simulator SDK, which we currently do not build or supply. I have added this to our tracker and will be available in a future release.
> 
> What is the linker error you are getting with 1.10?

Thanks for the response. I posted the linker error as an update to the post above so that it’s easier to read.

---

<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:** [November 21, 2017, 10:00pm UTC](https://qa.fmod.com/t/1-10-1-v2-symbol-not-found-in-ios-simulator/13537/5 "2017-11-21T22:00:59Z")

</div>

That issue has been fixed for the next release, in the mean time it is possible to work around this by commenting out the function in the fmod\_studio.cs.

---

<div class="post-metadata">

**Author:** ![sourcetreehugger](https://avatars.discourse-cdn.com/v4/letter/s/eb9ed0/32.png) [@sourcetreehugger](https://qa.fmod.com/u/sourcetreehugger)\
**Post date:** [December 6, 2017, 3:32pm UTC](https://qa.fmod.com/t/1-10-1-v2-symbol-not-found-in-ios-simulator/13537/6 "2017-12-06T15:32:25Z")

</div>

Hey I am also having issues with this in an upgraded project while building for release.  
I am afraid that when I comment this function out some of the audio might not work in the project. I have to release for a client this week so can anyone tell me if it is safe to comment this out?

Found using:  
Unity 2017.2 (Mac)  
Fmod plugin 11001\_v2.unitypackage  
xcode 9.1  
Os: High Sierra

* * *

Update:  
Downgraded to 1.09. Version builded and launched without problems.

---

<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:** [December 7, 2017, 3:02am UTC](https://qa.fmod.com/t/1-10-1-v2-symbol-not-found-in-ios-simulator/13537/7 "2017-12-07T03:02:00Z")

</div>

> [@](#):
>
> Hey I am also having issues with this in an upgraded project while building for release.  
> I am afraid that when I comment this function out some of the audio might not work in the project. I have to release for a client this week so can anyone tell me if it is safe to comment this out?
> 
> Found using:  
> Unity 2017.2 (Mac)  
> Fmod plugin 11001\_v2.unitypackage  
> xcode 9.1  
> Os: High Sierra
> 
> * * *
> 
> Update:  
> Downgraded to 1.09. Version builded and launched without problems.

If you aren’t using the function then commenting it out should have no effect on your project.

Otherwise, 1.10.02 is now available with the fix for this issue.
