# Copy banks for platform iOS

**URL:** <https://qa.fmod.com/t/copy-banks-for-platform-ios/20940>\
**Category:** Unity\
**Created:** [December 2, 2023, 8:26pm UTC](https://qa.fmod.com/t/copy-banks-for-platform-ios/20940 "2023-12-02T20:26:59Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![hilster](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/hilster/32/5845_2.png) [@hilster](https://qa.fmod.com/u/hilster)\
**Post date:** [December 2, 2023, 8:26pm UTC](https://qa.fmod.com/t/copy-banks-for-platform-ios/20940/1 "2023-12-02T20:26:59Z")

</div>

When I first attempted to use FMOD in Unity I was able to solve some loading errors using this thread: [Help! Banks not loading. I think i messed up my FMOD settings](https://qa.fmod.com/t/help-banks-not-loading-i-think-i-messed-up-my-fmod-settings/18326) (The Desktop/Desktop issue by using specified banks in initialization).

Now when doing a cloud build for iOS I’m getting similar errors. Here’s the build summary:

```auto
Summary: 12 warnings, 2 errors:

ERRORS:

[error] [2023-12-02T19:56:47Z - Unity] ERROR: FMOD Studio: copy banks for platform iOS : copying banks from Assets/Audio/Desktop to /opt/workspace/workspace/hilster.oncoming-drift.default-ios/Assets/StreamingAssets

[error] [2023-12-02T19:56:47Z - Unity] FMODUnity.RuntimeUtils:DebugLogErrorFormat (string,object[]) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:588)

[important] [2023-12-02T19:56:03Z - Unity] Initialize engine version: 2022.3.8f1 (b5eafc012955)

[warning] [2023-12-02T19:56:37Z - Unity] Assets/FirstGearGames/SmoothCameraShaker/Scripts/ShakerInstance.cs(232,22): warning CS0414: The field 'ShakerInstance._first' is assigned but its value is never used

[warning] [2023-12-02T19:56:37Z - Unity] Assets/FirstGearGames/SmoothCameraShaker/Scripts/ShakerInstance.cs(232,22): warning CS0414: The field 'ShakerInstance._first' is assigned but its value is never used

[error] [2023-12-02T19:56:47Z - Unity] ERROR: FMOD Studio: copy banks for platform iOS : copying banks from Assets/Audio/Desktop to /BUILD_PATH/hilster.oncoming-drift.default-ios/Assets/StreamingAssets

[error] [2023-12-02T19:56:47Z - Unity] FMODUnity.RuntimeUtils:DebugLogErrorFormat (string,object[]) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:588)

[warning] [2023-12-02T19:56:47Z - Unity] EXCEPTION: DirectoryNotFoundException: Could not find a part of the path "/BUILD_PATH/hilster.oncoming-drift.default-ios/Assets/Audio/Desktop/Desktop/Master.bank".

[warning] [2023-12-02T19:56:47Z - Unity] DirectoryNotFoundException: Could not find a part of the path "/BUILD_PATH/hilster.oncoming-drift.default-ios/Assets/Audio/Desktop/Desktop/Master.bank".

[warning] [2023-12-02T19:56:49Z - Unity] Assets/FirstGearGames/SmoothCameraShaker/Scripts/ShakerInstance.cs(232,22): warning CS0414: The field 'ShakerInstance._first' is assigned but its value is never used

[warning] [2023-12-02T19:56:49Z - Unity] Assets/FirstGearGames/SmoothCameraShaker/Scripts/ShakerInstance.cs(232,22): warning CS0414: The field 'ShakerInstance._first' is assigned but its value is never used

[warning] [2023-12-02T19:56:52Z - Unity] Shader warning in 'Hidden/PostProcessing/Debug/Waveform': Hidden/PostProcessing/Debug/Waveform shader is not supported on this GPU (none of subshaders/fallbacks are suitable)

[warning] [2023-12-02T19:56:52Z - Unity] Shader warning in 'Hidden/PostProcessing/MultiScaleVO': Hidden/PostProcessing/MultiScaleVO shader is not supported on this GPU (none of subshaders/fallbacks are suitable)

[warning] [2023-12-02T19:56:52Z - Unity] Shader warning in 'Hidden/PostProcessing/Debug/Vectorscope': Hidden/PostProcessing/Debug/Vectorscope shader is not supported on this GPU (none of subshaders/fallbacks are suitable)

[warning] [2023-12-02T19:56:52Z - Unity] Shader warning in 'Hidden/PostProcessing/Debug/LightMeter': Hidden/PostProcessing/Debug/LightMeter shader is not supported on this GPU (none of subshaders/fallbacks are suitable)

[warning] [2023-12-02T19:56:52Z - Unity] Shader warning in 'Hidden/PostProcessing/Debug/Histogram': Hidden/PostProcessing/Debug/Histogram shader is not supported on this GPU (none of subshaders/fallbacks are suitable)

[warning] [2023-12-02T19:56:52Z - Unity] Shader warning in 'Hidden/PostProcessing/ScreenSpaceReflections': Hidden/PostProcessing/ScreenSpaceReflections shader is not supported on this GPU (none of subshaders/fallbacks are suitable)

```

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [December 6, 2023, 3:22am UTC](https://qa.fmod.com/t/copy-banks-for-platform-ios/20940/2 "2023-12-06T03:22:56Z")

</div>

Hi,

What version of the FMOD Integration are you using?

Could you please further elaborate on the issue? What service are you using for cloud building?

---

<div class="post-metadata">

**Author:** ![hilster](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/hilster/32/5845_2.png) [@hilster](https://qa.fmod.com/u/hilster)\
**Post date:** [December 6, 2023, 6:14pm UTC](https://qa.fmod.com/t/copy-banks-for-platform-ios/20940/3 "2023-12-06T18:14:41Z")

</div>

I’m using `FMOD for Unity 2.02.19` and `Unity 2022.3.8f1`.

The cloud-building service I’m using is Unity’s DevOps iOS cloud build tool to create automatic versions of my game to playtest on an iPhone. [Scalable DevOps Services & Solutions | Unity](https://unity.com/products/unity-devops)

I’m building using the builder OS `macOS Ventura` and `Xcode 14.3.1`.

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [December 11, 2023, 2:27am UTC](https://qa.fmod.com/t/copy-banks-for-platform-ios/20940/4 "2023-12-11T02:27:39Z")

</div>

Hi,

Thanks for the info.

Where do you have your FMOD Studio banks located in relation to your Unity Project? Could I get a screenshot of your FMOD Integration settings:  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/e/e7c67a55fee4fb6856a1cf66efc2b6682639e8d9.png)

---

<div class="post-metadata">

**Author:** ![hilster](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/hilster/32/5845_2.png) [@hilster](https://qa.fmod.com/u/hilster)\
**Post date:** [December 11, 2023, 7:20pm UTC](https://qa.fmod.com/t/copy-banks-for-platform-ios/20940/5 "2023-12-11T19:20:36Z")

</div>

This is a full view of my FMOD settings.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/2/2afc1a2980cfeb9e7e697ada27590eecc23e6205.png)

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [December 14, 2023, 1:05am UTC](https://qa.fmod.com/t/copy-banks-for-platform-ios/20940/6 "2023-12-14T01:05:55Z")

</div>

Hi,

Thank you for the image. If you move the built bank’s location out of the Unity `Assets` folder could you see if that solves the issue? There have been issues with having the banks within the Unity project.

Hope this helps!

---

<div class="post-metadata">

**Author:** ![hilster](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/hilster/32/5845_2.png) [@hilster](https://qa.fmod.com/u/hilster)\
**Post date:** [December 21, 2023, 9:56pm UTC](https://qa.fmod.com/t/copy-banks-for-platform-ios/20940/7 "2023-12-21T21:56:33Z")

</div>

Thanks Connor!

So I moved my SFX out of Assets so now they’re located in a folder named `Audio` in the games root directory. Seems a bit strange to not have all assets in the assets directory, is there any explanation as to why having them in the Assets folder doesn’t work?

For posterity, after moving all audio to the games root directory I then started to receive this error:

```auto
[error] [2023-12-20T19:20:10.577Z] - 7.3.30.2.7.4 - INFO: ❌ ld: '/BUILD_PATH/hilster.oncoming-drift.default-ios/temp20231220-2586-1e3ma21/Libraries/Plugins/FMOD/platforms/ios/lib/libfmodstudiounityplugin.a(libfmodstudio_iphoneos.a-arm64-master.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target.

```

Refer to [Enable Bitcode flag in Unity](https://appunite.com/blog/enable-bitcode-flag-in-unity) and set the flag to false to easily fix this error.

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [December 26, 2023, 9:07pm UTC](https://qa.fmod.com/t/copy-banks-for-platform-ios/20940/8 "2023-12-26T21:07:03Z")

</div>

Hi,

Thank you for sharing the solution
