Link Error iOS arm64 _FMOD5_System_GetCPUUsageEx FMOD 2.01.04

When building for iOS, I get this error with FMOD 2.01.04:

▸ Linking UnityFramework
:x: Undefined symbols for architecture arm64
> Symbol: _FMOD5_System_GetCPUUsageEx
> Referenced from: _System_getCPUUsageEx_m4EA60B358E99BCA5B44B20CEA000250509A39CB6_AdjustorThunk in Assembly-CSharp-firstpass1.o
:x: ld: symbol(s) not found for architecture arm64
:x: clang: error: linker command failed with exit code 1 (use -v to see invocation)

1 Like

Same problem

arm64 function not 4-byte aligned: _unwind_tester from …/Libraries/libiPhone-lib.a(unwind_test_arm64.o)
Undefined symbols for architecture arm64:
“_FMOD5_System_GetCPUUsageEx”

Thanks for the report, it looks like this is the same issue affecting our Switch build, please try the workaround discussed in that thread: Nintendo Switch linker error on build

Thanks, commenting out lines 1205-1208 and lines 1555-1556 of fmod.cs worked for me as well.