Hello,
I’m having an issue when trying to build a project on my iPad. I am getting an error because of fmod, looking like this:
Ld /Users/simsoft/Library/Developer/Xcode/DerivedData/Unity-iPhone-gslywripzwdgevchzhzoizgffwrd/Build/Products/ReleaseForRunning-iphoneos/UnityFramework.framework/UnityFramework normal (in target ‘UnityFramework’ from project ‘Unity-iPad’)
cd /Users/simsoft/Documents/GitHub/builds/VCS
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target arm64-apple-ios12.0 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.0.sdk -L/Users/simsoft/Library/Developer/Xcode/DerivedData/Unity-iPhone-gslywripzwdgevchzhzoizgffwrd/Build/Products/ReleaseForRunning-iphoneos -L/Users/simsoft/Documents/GitHub/builds/VCS/Libraries -L/Users/simsoft/Documents/GitHub/builds/VCS/Libraries/Vendor/Paroxe/PDFRenderer/Plugins/iOS -L/Users/simsoft/Documents/GitHub/builds/VCS/Libraries/Plugins/FMOD/lib/ios -L/Users/simsoft/Documents/GitHub/builds/VCS/Libraries/Plugins/iOS -F/Users/simsoft/Library/Developer/Xcode/DerivedData/Unity-iPhone-gslywripzwdgevchzhzoizgffwrd/Build/Products/ReleaseForRunning-iphoneos -filelist /Users/simsoft/Library/Developer/Xcode/DerivedData/Unity-iPhone-gslywripzwdgevchzhzoizgffwrd/Build/Intermediates.noindex/Unity-iPad.build/ReleaseForRunning-iphoneos/UnityFramework.build/Objects-normal/arm64/UnityFramework.LinkFileList -install_name [@]rpath/UnityFramework.framework/UnityFramework -Xlinker -rpath -Xlinker [@]executable_path/Frameworks -Xlinker -rpath -Xlinker [@]loader_path/Frameworks -Xlinker -map -Xlinker /Users/simsoft/Library/Developer/Xcode/DerivedData/Unity-iPhone-gslywripzwdgevchzhzoizgffwrd/Build/Intermediates.noindex/Unity-iPad.build/ReleaseForRunning-iphoneos/UnityFramework.build/UnityFramework-LinkMap-normal-arm64.txt -dead_strip -Xlinker -object_path_lto -Xlinker /Users/simsoft/Library/Developer/Xcode/DerivedData/Unity-iPhone-gslywripzwdgevchzhzoizgffwrd/Build/Intermediates.noindex/Unity-iPad.build/ReleaseForRunning-iphoneos/UnityFramework.build/Objects-normal/arm64/UnityFramework_lto.o -fembed-bitcode-marker -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -weak_framework CoreMotion -weak-lSystem -liPhone-lib -framework Security -framework MediaToolbox -framework CoreText -framework AudioToolbox -weak_framework AVFoundation -framework AVKit -framework CFNetwork -framework CoreGraphics -framework CoreMedia -weak_framework CoreMotion -framework CoreVideo -framework Foundation -framework OpenAL -framework OpenGLES -framework QuartzCore -framework SystemConfiguration -framework UIKit -liconv.2 -lil2cpp /Users/simsoft/Documents/GitHub/builds/VCS/Libraries/Vendor/Paroxe/PDFRenderer/Plugins/iOS/pdfrenderer.a -lfmodstudiounityplugin -lresonanceaudio -lopus_egpv -framework CoreLocation -weak_framework Metal -weak_framework GameController -Xlinker -dependency_info -Xlinker /Users/simsoft/Library/Developer/Xcode/DerivedData/Unity-iPhone-gslywripzwdgevchzhzoizgffwrd/Build/Intermediates.noindex/Unity-iPad.build/ReleaseForRunning-iphoneos/UnityFramework.build/Objects-normal/arm64/UnityFramework_dependency_info.dat -o /Users/simsoft/Library/Developer/Xcode/DerivedData/Unity-iPhone-gslywripzwdgevchzhzoizgffwrd/Build/Products/ReleaseForRunning-iphoneos/UnityFramework.framework/UnityFrameworkUndefined symbols for architecture arm64:
“_RegisterSuspendCallback”, referenced from:
_RuntimeManager_Initialize_mBEBF28EF713CC3E1FEEFC3D62CFAF3C678CCC73F in AtmisaioPlugins3.o _RuntimeManager_RegisterSuspendCallback_mA88CFC22DF4FF3E80673990BE5E0EE9A8C1F4CF7 in AtmisaioPlugins3.o
(maybe you meant: _RuntimeManager_RegisterSuspendCallback_mA88CFC22DF4FF3E80673990BE5E0EE9A8C1F4CF7)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I am using Unity 2019.4.4f1, xcode 13.1, MacOS 12.0.1 (monterey), and fmod 2.00.07. Any ideas why this is happening, or how can we fix it? I’d appreciate any kind of help, i really have no idea how to fix this and get the build working…