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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Problems in IOS Help

Discussion in 'iOS and tvOS' started by Artcastday, Jul 12, 2017.

  1. Artcastday

    Artcastday

    Joined:
    Oct 13, 2016
    Posts:
    4
    Hello my friends i'm having a problem trying to export a unity app to IOS. I used Unity 5.6.0f3 and Unity 5.6.2 with no solution. The problem is that when i exported and tried to compile the project in xcode the project does not compile with error:

    Apple Mach-O Linker (ld) Error Group
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    The app is a VR app that use firebase google card board.

    I updated the pod, changed configurations and everything but the error persist.

    i dont know that to do or what else to change.

    Thank you for the help if someone know the solution for this error.

    Regards
     
  2. julian_cruz

    julian_cruz

    Unity Technologies

    Joined:
    Nov 21, 2016
    Posts:
    16
  3. Artcastday

    Artcastday

    Joined:
    Oct 13, 2016
    Posts:
    4
    Hi this are the image of the errors. Thank you for your help!
     

    Attached Files:

  4. Artcastday

    Artcastday

    Joined:
    Oct 13, 2016
    Posts:
    4
    Full Image
     

    Attached Files:

  5. lugduweb

    lugduweb

    Joined:
    Mar 2, 2014
    Posts:
    50
    Hello, looking at the error message, it seems your are trying to link a 3rd party library made for iOS 10.0 and your project is built for IOS 7.0.
    In Player Settings/Other Settings/Configuration, change your "Target minimum IOS version" from 7.0 to 10.0.
    Note: if you are using other 3rd party assets, you may encounter the opposite problem (not compatible with IOS 10.0).
    Good luck !
     
  6. julian_cruz

    julian_cruz

    Unity Technologies

    Joined:
    Nov 21, 2016
    Posts:
    16
    Besides of the message above and according to the full image, generally, this kind of error occurs due to duplicate classes and libs in your project folder such as (.h/.m files). You might see these duplicate classes under target->Build phases->compile sources.

    Just look and remove extra classes. Problem will be solved.
     
  7. Artcastday

    Artcastday

    Joined:
    Oct 13, 2016
    Posts:
    4
    Hello Lug and Julian thank you for your responses, now i fixed one of three 3 errors, I was trying to figure out which the classes are duplicated but I did not find nothing, i see that there are classes with the same name but with a version in the end character of the name. I deleted all with numbers or versions, But i got 100 errors now. I upload the image with the list of the classes. Guys thank you for your responses. Regards