Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Apple Mach-O Linker (ld) Error in Unity 2019.4+

Discussion in 'iOS and tvOS' started by Litovets, Aug 29, 2020.

  1. Litovets

    Litovets

    Joined:
    Sep 3, 2012
    Posts:
    24
    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:

    upload_2020-8-29_18-43-51.png

    Almost every google link tell me that I need to add libz.tbd library and it will fix the problem, but this library already there:
    upload_2020-8-29_18-45-53.png
    Maybe I must to rebuild libSkyTrakSW.a with some special flags or something else. Please, help!
     
  2. Litovets

    Litovets

    Joined:
    Sep 3, 2012
    Posts:
    24
    UPDATE: On the Unity Cloud Build both 2018.4.19 and 2019.4.5 were using XCode 10.3, so that is why I'm guessing that something changed in Unity build, not XCode.
     
  3. Litovets

    Litovets

    Joined:
    Sep 3, 2012
    Posts:
    24
    Anyone, please?
     
  4. Litovets

    Litovets

    Joined:
    Sep 3, 2012
    Posts:
    24