# Building FMOD for iOS on Windows machine

**URL:** <https://qa.fmod.com/t/building-fmod-for-ios-on-windows-machine/15938>\
**Category:** Unreal Engine\
**Tags:** ios\
**Created:** [July 2, 2020, 6:35am UTC](https://qa.fmod.com/t/building-fmod-for-ios-on-windows-machine/15938 "2020-07-02T06:35:22Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![jessekirbs](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@jessekirbs](https://qa.fmod.com/u/jessekirbs)\
**Post date:** [July 2, 2020, 6:35am UTC](https://qa.fmod.com/t/building-fmod-for-ios-on-windows-machine/15938/1 "2020-07-02T06:35:23Z")

</div>

I’m using the remote build feature to build an iOS app in Unreal 4.21 on a Windows 10 64-bit machine. The build doesn’t complete when the Windows/Android FMOD plugin is installed. When I try to install the Mac iOS FMOD plugin and open the project, it asks if would like to compile and if I hit ‘Yes’, the compile fails and I can’t open the project. This is a pure blueprints project.

Can you please point me in the right direction of how to make this work? Thank you!

---

<div class="post-metadata">

**Author:** ![jessekirbs](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@jessekirbs](https://qa.fmod.com/u/jessekirbs)\
**Post date:** [July 3, 2020, 7:47pm UTC](https://qa.fmod.com/t/building-fmod-for-ios-on-windows-machine/15938/2 "2020-07-03T19:47:54Z")

</div>

I get the following errors:

> UATHelper: Packaging (iOS): clang: error: no such file or directory: ‘/Users/unreal/UE4/Builds/DESKTOP-1RRTI06/G/Z/Unreal\_Projects/DMX\_iOS/Plugins/FMODStudio/Binaries/IOS/libfmodL\_iphoneos.a’  
> UATHelper: Packaging (iOS): clang: error: no such file or directory: ‘/Users/unreal/UE4/Builds/DESKTOP-1RRTI06/G/Z/Unreal\_Projects/DMX\_iOS/Plugins/FMODStudio/Binaries/IOS/libfmodstudioL\_iphoneos.a’  
> PackagingResults: Error: no such file or directory: ‘/Users/unreal/UE4/Builds/DESKTOP-1RRTI06/G/Z/Unreal\_Projects/DMX\_iOS/Plugins/FMODStudio/Binaries/IOS/libfmodL\_iphoneos.a’  
> PackagingResults: Error: no such file or directory: ‘/Users/unreal/UE4/Builds/DESKTOP-1RRTI06/G/Z/Unreal\_Projects/DMX\_iOS/Plugins/FMODStudio/Binaries/IOS/libfmodstudioL\_iphoneos.a’  
> UATHelper: Packaging (iOS): ERROR: UBT ERROR: Failed to produce item: /Users/unreal/UE4/Builds/DESKTOP-1RRTI06/G/Z/Unreal\_Projects/DMX\_iOS/Binaries/IOS/DMX\_iOS

I’ve tried adding the iOS binaries to the listed folder on the Mac but it just gets overwritten and displays the same message. I’ve tried adding the iOS binaries on the Windows machine and same issue.

---

<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:** [July 6, 2020, 10:42pm UTC](https://qa.fmod.com/t/building-fmod-for-ios-on-windows-machine/15938/3 "2020-07-06T22:42:17Z")

</div>

What version of FMOD are you using?

---

<div class="post-metadata">

**Author:** ![jessekirbs](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@jessekirbs](https://qa.fmod.com/u/jessekirbs)\
**Post date:** [July 6, 2020, 11:30pm UTC](https://qa.fmod.com/t/building-fmod-for-ios-on-windows-machine/15938/4 "2020-07-06T23:30:04Z")

</div>

Thanks for replying, Cameron. Sorry - forgot to mention version.

My original project file is UE4.21 - so I tried using the 4.21 integration. The banks were built with FMOD Studio 1.10.20 I believe.

I’ve also tried converting the project to UE4.25 and using the 4.25 integration after building with FMOD Studio 2.01. With this version I’m able to remotely build the iOS .ipa file without errors, but when I try to run it on the iPhone it gives me [this error.](https://imgur.com/TKfP3oR)

---

<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:** [July 7, 2020, 3:27am UTC](https://qa.fmod.com/t/building-fmod-for-ios-on-windows-machine/15938/5 "2020-07-07T03:27:45Z")

</div>

Are you able to share your entire build log file/s? From either or both versions if possible.

---

<div class="post-metadata">

**Author:** ![jessekirbs](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@jessekirbs](https://qa.fmod.com/u/jessekirbs)\
**Post date:** [July 8, 2020, 1:13am UTC](https://qa.fmod.com/t/building-fmod-for-ios-on-windows-machine/15938/6 "2020-07-08T01:13:09Z")

</div>

Here are the output logs for 4.25 and 4.21. 4.25 successfully builds but gives me the attached error when running on iPhone. 4.21 cannot build.

I tried using FMOD Studio 2.00.10 for both 4.25 and 4.21 in the tests that correspond to these logs.[421Log.txt](https://qa.fmod.com/uploads/short-url/p25hQkDlS42fHpHK5yCR5IC2Jg7.txt) (92.0 KB) [425Log.txt](https://qa.fmod.com/uploads/short-url/vw0i4Q0y3131hp2FXkIlCovf5aI.txt) (36.7 KB)

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

---

<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:** [July 10, 2020, 6:24am UTC](https://qa.fmod.com/t/building-fmod-for-ios-on-windows-machine/15938/7 "2020-07-10T06:24:06Z")

</div>

This may require more investigation as I’m not sure if we can do something about it in our plugin, but previously someone else had used this:

> [@FMod causes error when using remote mac compile](https://qa.fmod.com/t/fmod-causes-error-when-using-remote-mac-compile/14321/4):
>
> My workaround was modification of UnrealBuildTool’s RemoteMac.cs file. I belive this change will work even in binary build from launcher. I added CommonRsyncArguments.Add("–filter ‘protect libresonanceaudio.a’"); CommonRsyncArguments.Add("–filter ‘protect libgvraudio.a’"); CommonRsyncArguments.Add("–filter ‘protect libfmodstudio\_iphoneos.a’"); CommonRsyncArguments.Add("–filter ‘protect libfmodstudioL\_iphoneos.a’"); CommonRsyncArguments.Add("–filter ‘protect libfmod\_iphoneos.a’"); CommonRs…

---

<div class="post-metadata">

**Author:** ![Skylonxe](https://avatars.discourse-cdn.com/v4/letter/s/46a35a/32.png) [@Skylonxe](https://qa.fmod.com/u/Skylonxe)\
**Post date:** [July 10, 2020, 6:54am UTC](https://qa.fmod.com/t/building-fmod-for-ios-on-windows-machine/15938/8 "2020-07-10T06:54:41Z")

</div>

I belive the only issue is that DLL files (or your other third party files) are in Binaries folder which gets wiped before packaging. According to this post you can choose any other folder for them. “Now since our DLL is in one of the folders in our plugin (you can use any folder , I used third party for consistency)” [https://answers.unrealengine.com/questions/427772/adding-dll-path-for-plugin.html?sort=oldest](https://answers.unrealengine.com/questions/427772/adding-dll-path-for-plugin.html?sort=oldest)

---

<div class="post-metadata">

**Author:** ![jessekirbs](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@jessekirbs](https://qa.fmod.com/u/jessekirbs)\
**Post date:** [July 12, 2020, 9:29pm UTC](https://qa.fmod.com/t/building-fmod-for-ios-on-windows-machine/15938/9 "2020-07-12T21:29:51Z")

</div>

@cameron-fmod I’ve tried this workaround but it’s giving me the same errors. I may be missing something. I change the ‘RemoteMac.cs’ file to contain:

```
CommonRsyncArguments.Add("–filter ‘protect libfmodstudio_iphoneos.a’");
CommonRsyncArguments.Add("–filter ‘protect libfmodstudioL_iphoneos.a’");
CommonRsyncArguments.Add("–filter ‘protect libfmod_iphoneos.a’");
CommonRsyncArguments.Add("–filter ‘protect libfmodL_iphoneos.a’"); 

```

and save it. Then, I open UnrealBuildTool.csproj and ‘Build’ the solution. I then try building the Unreal project and see the same error. Is there a step missing?

Does what @Skylonxe suggested about the DLLs lead to a more official fix?

@Skylonxe Can you please review the process I went through above and let me know if I’m missing a step or doing something incorrectly, please? After opening the UnrealBuildTool.cspoj do I just ‘Build’ the solution or is there something else I need to do?

When you say:

> There is UnrealBuildTool.csproj in launcher builds too and you can safely change it’s source and rebuild only this C# project.

What do you mean by ‘change it’s source’? Any help would be greatly appreciated. Thank you!

---

<div class="post-metadata">

**Author:** ![Skylonxe](https://avatars.discourse-cdn.com/v4/letter/s/46a35a/32.png) [@Skylonxe](https://qa.fmod.com/u/Skylonxe)\
**Post date:** [July 13, 2020, 7:05am UTC](https://qa.fmod.com/t/building-fmod-for-ios-on-windows-machine/15938/10 "2020-07-13T07:05:36Z")

</div>

There are no additional steps. You should need to just modify the RemoteMac.cs file and build the UnrealBuildTool.csproj in visual studio. You can try to find UnrealBuildTool.exe, delete it, build the UnrealBuildTool.csproj again and ensure that new exe was created.

By change it’s source I mean modification of RemoteMac.cs, as you did. I suggest you to rewrite all lines manually from screenshot in that thread as it seems webpage changed some characters like double dash to long dash.

This should be on PC from which you are triggering the build.

---

<div class="post-metadata">

**Author:** ![vekien](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/vekien/32/1807_2.png) [@vekien](https://qa.fmod.com/u/vekien)\
**Post date:** [April 17, 2021, 9:43pm UTC](https://qa.fmod.com/t/building-fmod-for-ios-on-windows-machine/15938/11 "2021-04-17T21:43:26Z")

</div>

Hello,

I am getting the same issue “Plugin fmodstudio not found” on IOS however I am building from a Macbook and NOT using RemoteTools

Any suggestions on how to fix this?

---

<div class="post-metadata">

**Author:** ![Alcibiade](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/alcibiade/32/4284_2.png) [@Alcibiade](https://qa.fmod.com/u/Alcibiade)\
**Post date:** [April 17, 2021, 10:08pm UTC](https://qa.fmod.com/t/building-fmod-for-ios-on-windows-machine/15938/12 "2021-04-17T22:08:42Z")

</div>

Hi,  
If the packaging succeeded but you get the error message when trying to load the game, you probably encountered the known bug described [here](https://qa.fmod.com/t/plugin-fmodstudio-failed-to-load-because-module-fmodstudio-could-not-be-found/16752/5), on blueprint-only projects. You only have to create a dumb C++ class and compile it in a code editor, before packaging the project in UE.

---

<div class="post-metadata">

**Author:** ![vekien](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/vekien/32/1807_2.png) [@vekien](https://qa.fmod.com/u/vekien)\
**Post date:** [April 17, 2021, 10:32pm UTC](https://qa.fmod.com/t/building-fmod-for-ios-on-windows-machine/15938/13 "2021-04-17T22:32:48Z")

</div>

Hello, thanks for the reply. I am not using a Blueprint only project, I cannot add my own C++ due to 4.25.4 not being compatible with Big Sur… however I have third-party (eg Load Screen) that are C++ as they cannot be built on Windows for iOS, hence why I am using my Macbook.

---

<div class="post-metadata">

**Author:** ![pangames](https://avatars.discourse-cdn.com/v4/letter/p/edb3f5/32.png) [@pangames](https://qa.fmod.com/u/pangames)\
**Post date:** [May 2, 2022, 4:14pm UTC](https://qa.fmod.com/t/building-fmod-for-ios-on-windows-machine/15938/14 "2022-05-02T16:14:57Z")

</div>

Why don’t you use recommended documented settings?

### 7.3.3 Building for iOS on Windows

Using remote build to build for iOS on Windows using the FMOD Studio plugin requires some additional files to be copied to the remote Mac. To tell Unreal to copy the additional files add a file named `RsyncProject.txt` to the directory `<ue_project_root>/Build/Rsync` (you may need to create this directory). The `RsyncProject.txt` file needs to contain this line:

```
+ /Plugins/FMODStudio/Binaries/IOS/**
```
