Page 1 of 1

iOS build problem

Posted: 27 Apr 2021, 20:11
by ivan_b
Hi,

In unity 2020.3.4 with Noesis version 2.2.4 when building for iOS I am getting the error
ld: '.../Libraries/NoesisGUI/Plugins/Libraries/iOS/libNoesis.a(libNoesis.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.
clang: error: linker command failed with exit code 1 (use -v to see invocation)
This seems to happen whether bitcode is enabled or disabled.
Is this due to an older version of Noesis or this is something related to some settings. I got this error when migrated the project from Unity 2018.4.3 to 2020.3.4.

Thank you.

Re: iOS build problem

Posted: 28 Apr 2021, 11:36
by jsantos
You need to disable Bitcode for the target. We are not distributing iOS libraries with that flag.

Could you please double check that flag is being correctly disabled?

Thanks

Re: iOS build problem

Posted: 28 Apr 2021, 12:55
by ivan_b
Hi,

Here is the screenshot of the settings
https://www.dropbox.com/s/2pzuh46e3x2gp ... x.jpg?dl=0

Bitcode is disabled but it stills throws the error.

Re: iOS build problem

Posted: 28 Apr 2021, 12:59
by jsantos
Make sure your are disabling it in all the three targets.

Re: iOS build problem

Posted: 29 Apr 2021, 19:34
by ivan_b
Thank you a lot.

It works.

Re: iOS build problem

Posted: 30 Apr 2021, 11:17
by jsantos
Glad to help!