I have upgraded Unity integration to version 2.02.11, and when I try to create an iOS build I get the following error in Xcode:
‘<project_path>/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.
Tested on other platforms (Windows, MacOS, Android) they work fine.
Unity version: 2021.3.5f1.
Xcode version: 14.1.
I have also tried downgrading to 2.02.09, and there everything works as expected.
Is there something I misconfigured, or is there some issue with iOS libraries in the latest release?
Thanks in advance,
Apologies for the delayed response. I have reproduced this issue as you have described and notified the Dev team- thank you for bringing this to our attention.
As a workaround, I found that setting “Enable Bitcode” to “No” in the Xcode project’s build settings allows builds to compile and run successfully:
Can you please try doing the same and let me know if that works around the issue?
hey, that helped with the initial error for me. But now there is a new error.
Unfortunately, I was not able to reproduce this issue. It also looks as though this issue is not related to FMOD as
fmod is not mentioned in the error.
I found these two forums that may have solutions to the issue:
- Unity + iOS Build Error in Xcode (Undef symbols for architecture arm64) - Forums | NoesisGUI
Hope they help!
Hey yeah thanks. It turned out to be form UniClipboard package. I wasn’t really using it so I just deleted it.
Builds perfect now
Thank you for sharing the solution!