Xcode - Mach-O Linker Error after upgrade to Unity 2019.4 (LTS)
I have a problem with build the project for iOS with Unity 2019.4.5 and even with 2020.1.3 The build is success with Unity 2018.4.19, so I guess something was changed in build process. I have a static library named libSkyTrakSW.a, and linking errors are related to this library:
I've used the same project and static library in Unity 2018.4 and 2019.4, so, that is why I think something changed in il2cpp build process.
Does libSkyTrakSW.a use code from zlib? I believe that Unity changed its internal use of zlib so that zlib's symbol names would not conflict with other copies of zlib possibly linking in to the same binary.
It looks like your project might have been using the zlib symbol names that Unity used previously.
libSkyTrakSW.a is not using zlib. It uses libcurl.a, libcrypto.a, libssl.a and libsqlcipher.a So, I guess, libcurl.a requires libz.
Your answer
Follow this Question
Related Questions
The xcode project exported from Unity contains some code like 'dlopen', 'dlsym' 0 Answers
Unity 5.2 ios IL2CPP build gives null reference exception 0 Answers
Unity with FMOD iOS build - many linker errors Xcode 0 Answers
unity ios build error in xcode console Filename: currently not available on il2cpp line -1 0 Answers
Xcode Apple Mach-O linker error 1 __frkparticlePluginSDKProcess 1 Answer