I have just upgraded FMOD to version 2.02.21 and I’m trying to build to iOS. Xcode generates these errors:
Build input file cannot be found: ‘/Users/[my-user]/www/[my-project]/_builds/iOS/[my-app]/Libraries/Plugins/FMOD/Cache/fmod_register_static_plugins.cpp’. Did you forget to declare this file as an output of a script phase or custom build rule which produces it?
Build input file cannot be found: ‘/Users/[my-user]/www/[my-project]/_builds/iOS/[my-app]/Libraries/Plugins/FMOD/src/Runtime/fmodplugins.cpp’. Did you forget to declare this file as an output of a script phase or custom build rule which produces it?
With regards to the first item, the only reference I have found to fmod_register_static_plugins is here in this legacy code block:
/Assets/Plugins/FMID/src/Settings.cs
internal static class Legacy
{
#if UNITY_EDITOR
private const string RegisterStaticPluginsAssetPathRelative =
"/Plugins/FMOD/Cache/fmod_register_static_plugins.cpp";
With regards to the second item, I found only this reference:
/Assets/Plugins/FMOD/src/Editor/FileReorganizer.cs
private static readonly MoveRecord[] looseAssets = {
// Release 1.10 layout
new MoveRecord() { source = FMODRoot + "/fmodplugins.cpp", destination = "obsolete" },
It appears that both of these files are obsolete in this version of FMOD, but my Unity project appears to still have references to them. How can I remove these references?