ivan_b
Topic Author
Posts: 100
Joined: 22 Jul 2015, 12:57

iOS build problem

27 Apr 2021, 20:11

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.
 
User avatar
jsantos
Site Admin
Posts: 4124
Joined: 20 Jan 2012, 17:18
Contact:

Re: iOS build problem

28 Apr 2021, 11:36

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
 
ivan_b
Topic Author
Posts: 100
Joined: 22 Jul 2015, 12:57

Re: iOS build problem

28 Apr 2021, 12:55

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.
 
User avatar
jsantos
Site Admin
Posts: 4124
Joined: 20 Jan 2012, 17:18
Contact:

Re: iOS build problem

28 Apr 2021, 12:59

Make sure your are disabling it in all the three targets.
 
ivan_b
Topic Author
Posts: 100
Joined: 22 Jul 2015, 12:57

Re: iOS build problem

29 Apr 2021, 19:34

Thank you a lot.

It works.
 
User avatar
jsantos
Site Admin
Posts: 4124
Joined: 20 Jan 2012, 17:18
Contact:

Re: iOS build problem

30 Apr 2021, 11:17

Glad to help!

Who is online

Users browsing this forum: No registered users and 0 guests